Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 121.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2461, allocations: 50.53 MB / 408.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002903/0.2491, allocations: 2.129 MB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00032/0.2494, allocations: 159.4 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.781e-05/0.2495, allocations: 7.938 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.2496, allocations: 31.72 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.607e-05/0.2497, allocations: 39.58 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.2499, allocations: 39.95 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.2501, allocations: 187.2 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.2502, allocations: 58.28 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.2503, allocations: 71.72 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2504, allocations: 75.62 kB / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.2505, allocations: 12 kB / 411.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.26e-05/0.2505, allocations: 12 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.2505, allocations: 35.86 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.872e-05/0.2506, allocations: 83.59 kB / 411.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.2508, allocations: 182.2 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2508, allocations: 0 / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2508, allocations: 4 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.2509, allocations: 0 / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005801/0.2514, allocations: 458.7 kB / 412.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2515, allocations: 12.03 kB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.2516, allocations: 54.73 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.2516, allocations: 20.8 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.2518, allocations: 216 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2519, allocations: 20.16 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.2519, allocations: 24.31 kB / 412.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.2522, allocations: 182.2 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.2522, allocations: 4 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.2522, allocations: 7.984 kB / 412.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2523, allocations: 4 kB / 412.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.2524, allocations: 103.8 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2536, allocations: 0.9548 MB / 413.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.2537, allocations: 99.69 kB / 414 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.2538, allocations: 50.75 kB / 414 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.2538, allocations: 0 / 414 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2539, allocations: 38.5 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.2539, allocations: 3.938 kB / 414.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002885/0.2542, allocations: 129.5 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.2542, allocations: 106.8 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.2544, allocations: 211.8 kB / 414.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.2544, allocations: 25.7 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.2545, allocations: 144 kB / 414.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.2546, allocations: 55.56 kB / 414.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.2546, allocations: 49.89 kB / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2548, allocations: 330.8 kB / 415.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.2548, allocations: 36.45 kB / 415.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.255, allocations: 146.6 kB / 415.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.2552, allocations: 198 kB / 415.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2552, allocations: 4 kB / 415.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002816/0.2555, allocations: 213.4 kB / 415.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2555, allocations: 8 kB / 415.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2555, allocations: 4 kB / 415.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2555, allocations: 4 kB / 415.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2557, allocations: 47.92 kB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.2557, allocations: 7.984 kB / 415.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.2558, allocations: 39.61 kB / 415.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.2558, allocations: 16 kB / 415.8 MB, free: 10.01 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/0.2559, allocations: 138 kB / 415.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.256, allocations: 15.91 kB / 416 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.2561, allocations: 20.92 kB / 416 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2561, allocations: 8 kB / 416 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2561, allocations: 0 / 416 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2561, allocations: 3.938 kB / 416 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.2565, allocations: 233.6 kB / 416.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2565, allocations: 0 / 416.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.2566, allocations: 27.98 kB / 416.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.2567, allocations: 8 kB / 416.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2567, allocations: 4 kB / 416.3 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2567, allocations: 3.938 kB / 416.3 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2567, allocations: 4 kB / 416.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.257, allocations: 385.8 kB / 416.6 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.2571, allocations: 92.95 kB / 416.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.2571, allocations: 8.062 kB / 416.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.2573, allocations: 4 kB / 416.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.2573, allocations: 11.92 kB / 416.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2573, allocations: 8 kB / 416.8 MB, free: 8.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2575, allocations: 149.5 kB / 416.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2575, allocations: 0 / 416.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.2578, allocations: 43.89 kB / 417 MB, free: 8.762 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005705/0.2584, allocations: 0.9176 MB / 417.9 MB, free: 7.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.2586, allocations: 116.5 kB / 418 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2586, allocations: 0 / 418 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.444e-05/0.2587, allocations: 36.05 kB / 418 MB, free: 7.668 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.2592, allocations: 34.16 kB / 418.1 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.2617, allocations: 2.629 MB / 420.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.262, allocations: 0.7242 MB / 421.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.878e-05/0.2621, allocations: 17.94 kB / 421.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.2622, allocations: 51.42 kB / 421.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2622, allocations: 4 kB / 421.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.2817, allocations: 3.459 MB / 424.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.824, allocations: 17.95 kB / 425 MB, free: 0.6367 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches