Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008122/0.0008122, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004252/0.004252, allocations: 162 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.867/0.867, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.56e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001954/0.00197, allocations: 2.021 MB / 327.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002925/0.002263, allocations: 163.4 kB / 328 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.00234, allocations: 7.938 kB / 328 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.002447, allocations: 31.66 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.288e-05/0.00251, allocations: 47.56 kB / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.002639, allocations: 55.86 kB / 328.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.002795, allocations: 183.1 kB / 328.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.002921, allocations: 45.73 kB / 328.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.003003, allocations: 103.8 kB / 328.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.00308, allocations: 47.88 kB / 328.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.003107, allocations: 19.94 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.544e-05/0.003122, allocations: 12 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.003149, allocations: 35.83 kB / 328.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.003193, allocations: 55.91 kB / 328.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.00336, allocations: 183.3 kB / 328.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003362, allocations: 4 kB / 328.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003362, allocations: 0 / 328.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.003366, allocations: 0 / 328.8 MB, free: 12.43 MB / 298.7 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.0004046/0.003771, allocations: 389.4 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.003806, allocations: 8.031 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.003844, allocations: 24.8 kB / 329.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.00401, allocations: 145.6 kB / 329.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.004021, allocations: 12.38 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.004051, allocations: 36.23 kB / 329.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.004243, allocations: 178.4 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.004259, allocations: 8.172 kB / 329.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.004272, allocations: 4.375 kB / 329.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.004279, allocations: 8.125 kB / 329.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.004399, allocations: 99.64 kB / 329.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.005116, allocations: 0.846 MB / 330.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.548e-05/0.005211, allocations: 103.8 kB / 330.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.005248, allocations: 42.61 kB / 330.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.005257, allocations: 11.98 kB / 330.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.005274, allocations: 34.5 kB / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.005275, allocations: 0 / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002021/0.005477, allocations: 121.5 kB / 330.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.005519, allocations: 110.8 kB / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.005615, allocations: 166.8 kB / 331.1 MB, free: 9.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.005626, allocations: 29.7 kB / 331.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.005687, allocations: 148.2 kB / 331.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.005713, allocations: 59.52 kB / 331.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.005758, allocations: 45.94 kB / 331.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.005839, allocations: 322.8 kB / 331.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.005882, allocations: 36.45 kB / 331.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.005967, allocations: 146.6 kB / 331.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.006112, allocations: 206 kB / 332.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.006114, allocations: 0 / 332.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001882/0.006303, allocations: 217.3 kB / 332.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.006313, allocations: 4 kB / 332.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006319, allocations: 4 kB / 332.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.006332, allocations: 8 kB / 332.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.006419, allocations: 47.92 kB / 332.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.006426, allocations: 8 kB / 332.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.006482, allocations: 19.84 kB / 332.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.00649, allocations: 12 kB / 332.4 MB, free: 8.477 MB / 298.7 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 6.959e-05/0.00656, allocations: 146 kB / 332.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.006592, allocations: 11.95 kB / 332.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.006618, allocations: 16.34 kB / 332.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006619, allocations: 0 / 332.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.006624, allocations: 7.938 kB / 332.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.006628, allocations: 7.922 kB / 332.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.006845, allocations: 169.2 kB / 332.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.006847, allocations: 4 kB / 332.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.006925, allocations: 27.98 kB / 332.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.006926, allocations: 0 / 332.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.006936, allocations: 4 kB / 332.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.006938, allocations: 7.984 kB / 332.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006939, allocations: 0 / 332.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.007143, allocations: 393.7 kB / 333.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.007157, allocations: 15.84 kB / 333.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.007172, allocations: 8.047 kB / 333.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.007247, allocations: 4 kB / 333.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.007263, allocations: 7.984 kB / 333.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.00727, allocations: 11.94 kB / 333.2 MB, free: 7.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.449e-05/0.007324, allocations: 124 kB / 333.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007324, allocations: 0 / 333.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002268/0.007551, allocations: 43.95 kB / 333.4 MB, free: 7.43 MB / 298.7 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 6.64e-05/0.007617, allocations: 107.1 kB / 333.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.007759, allocations: 104 kB / 333.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.00776, allocations: 0 / 333.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.108e-05/0.007791, allocations: 36.73 kB / 333.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.008096, allocations: 23.94 kB / 333.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.008626, allocations: 0.5183 MB / 334.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.184e-05/0.008697, allocations: 116.2 kB / 334.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.008727, allocations: 16.5 kB / 334.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.008727, allocations: 0 / 334.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of Templates: time 0.002143/0.01087, allocations: 1.96 MB / 336.3 MB, free: 4.484 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9726169668138027]