Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 103.5 kB / 20.43 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 194.8 kB / 23.71 MB, free: 4.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 370.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2529, allocations: 52.18 MB / 422.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003274/0.2562, allocations: 2.001 MB / 424.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.2566, allocations: 167.4 kB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.2567, allocations: 7.938 kB / 424.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.2568, allocations: 31.66 kB / 424.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.883e-05/0.2569, allocations: 39.58 kB / 424.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.257, allocations: 47.94 kB / 424.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.2573, allocations: 179.2 kB / 425 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2574, allocations: 42.41 kB / 425.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.64e-05/0.2575, allocations: 71.72 kB / 425.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.2576, allocations: 59.64 kB / 425.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.2576, allocations: 12 kB / 425.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.776e-05/0.2577, allocations: 16 kB / 425.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.2577, allocations: 35.84 kB / 425.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.2578, allocations: 71.66 kB / 425.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.258, allocations: 179.6 kB / 425.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.258, allocations: 4 kB / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.258, allocations: 0 / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.258, allocations: 4 kB / 425.5 MB, free: 11.46 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.0005678/0.2586, allocations: 385.5 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2586, allocations: 8.031 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.267e-05/0.2587, allocations: 62.61 kB / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.2587, allocations: 20.83 kB / 426 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.2589, allocations: 162.2 kB / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.259, allocations: 16.38 kB / 426.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.259, allocations: 16.38 kB / 426.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.2593, allocations: 182.2 kB / 426.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.2593, allocations: 3.938 kB / 426.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.2593, allocations: 8 kB / 426.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2593, allocations: 4 kB / 426.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.2595, allocations: 99.88 kB / 426.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2608, allocations: 0.8954 MB / 427.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.2609, allocations: 103.7 kB / 427.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.261, allocations: 38.75 kB / 427.5 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.261, allocations: 3.938 kB / 427.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.261, allocations: 34.56 kB / 427.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.261, allocations: 0 / 427.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003299/0.2614, allocations: 125.5 kB / 427.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.2614, allocations: 110.8 kB / 427.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.2617, allocations: 215.6 kB / 428 MB, free: 8.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2617, allocations: 29.7 kB / 428 MB, free: 8.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.2618, allocations: 148.1 kB / 428.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.2618, allocations: 43.58 kB / 428.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.2619, allocations: 49.89 kB / 428.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.262, allocations: 326.8 kB / 428.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-05/0.2621, allocations: 44.44 kB / 428.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.2623, allocations: 143.8 kB / 428.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.2625, allocations: 201.5 kB / 428.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2625, allocations: 0 / 428.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003264/0.2628, allocations: 213.9 kB / 429.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2629, allocations: 4 kB / 429.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2629, allocations: 7.984 kB / 429.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.2629, allocations: 11.98 kB / 429.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.263, allocations: 47.92 kB / 429.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.2631, allocations: 15.92 kB / 429.2 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.2632, allocations: 31.67 kB / 429.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.2632, allocations: 12.41 kB / 429.3 MB, free: 7.316 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 0.0001106/0.2633, allocations: 133.8 kB / 429.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.2634, allocations: 19.91 kB / 429.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.342e-05/0.2634, allocations: 21.02 kB / 429.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2634, allocations: 0 / 429.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2635, allocations: 4 kB / 429.5 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2635, allocations: 3.938 kB / 429.5 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.2639, allocations: 200.6 kB / 429.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2639, allocations: 0 / 429.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.264, allocations: 31.98 kB / 429.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.264, allocations: 0 / 429.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.264, allocations: 8 kB / 429.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.264, allocations: 3.984 kB / 429.7 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.264, allocations: 0 / 429.7 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.2644, allocations: 392.1 kB / 430.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.2644, allocations: 19.95 kB / 430.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.2645, allocations: 4 kB / 430.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.2646, allocations: 4 kB / 430.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.2646, allocations: 11.92 kB / 430.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.2646, allocations: 4.125 kB / 430.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.2648, allocations: 145.5 kB / 430.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2648, allocations: 4 kB / 430.3 MB, free: 6.258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.2652, allocations: 43.95 kB / 430.3 MB, free: 6.215 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.0006179/0.2658, allocations: 0.9139 MB / 431.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.266, allocations: 107.8 kB / 431.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.266, allocations: 0 / 431.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.626e-05/0.2661, allocations: 40.73 kB / 431.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.2666, allocations: 23.94 kB / 431.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.2694, allocations: 2.633 MB / 434 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.2696, allocations: 108.1 kB / 434.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.146e-05/0.2696, allocations: 21.95 kB / 434.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.2697, allocations: 51.41 kB / 434.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2697, allocations: 0 / 434.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.3039, allocations: 4.048 MB / 438.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.35, allocations: 6.172 kB / 438.3 MB, free: 14.19 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mass3.v in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.827882008161396]