Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009616, allocations: 96.7 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009914/0.0009917, allocations: 175.8 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006669/0.000667, allocations: 8 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.123, allocations: 47.59 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001963/0.125, allocations: 1.68 MB / 330 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.1253, allocations: 175.4 kB / 330.2 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.1254, allocations: 7.938 kB / 330.2 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.1255, allocations: 15.84 kB / 330.2 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.1256, allocations: 63.8 kB / 330.3 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.1257, allocations: 31.97 kB / 330.3 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1259, allocations: 119.8 kB / 330.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.126, allocations: 45.97 kB / 330.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.1261, allocations: 51.8 kB / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.1262, allocations: 63.69 kB / 330.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1262, allocations: 8 kB / 330.6 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.24e-05/0.1263, allocations: 8 kB / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.1263, allocations: 27.86 kB / 330.6 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.1263, allocations: 53.64 kB / 330.7 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1265, allocations: 127.9 kB / 330.8 MB, free: 1.621 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1265, allocations: 0 / 330.8 MB, free: 1.621 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1265, allocations: 0 / 330.8 MB, free: 1.621 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.1265, allocations: 0 / 330.8 MB, free: 1.621 MB / 270.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.0004899/0.127, allocations: 450.5 kB / 331.2 MB, free: 1.133 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.127, allocations: 11.97 kB / 331.2 MB, free: 1.121 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1271, allocations: 15.81 kB / 331.3 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1273, allocations: 218.7 kB / 331.5 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1273, allocations: 16 kB / 331.5 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.1273, allocations: 16 kB / 331.5 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.1276, allocations: 181.7 kB / 331.7 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1276, allocations: 3.938 kB / 331.7 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1276, allocations: 4 kB / 331.7 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1276, allocations: 8 kB / 331.7 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1278, allocations: 99.88 kB / 331.8 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1289, allocations: 0.9547 MB / 332.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.129, allocations: 99.81 kB / 332.8 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1291, allocations: 11.94 kB / 332.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.1291, allocations: 30.56 kB / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1291, allocations: 0 / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002769/0.1294, allocations: 129.5 kB / 333 MB, free: 15.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1294, allocations: 106.8 kB / 333.1 MB, free: 15.03 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1296, allocations: 207.7 kB / 333.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1297, allocations: 29.7 kB / 333.3 MB, free: 14.78 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.1297, allocations: 147.7 kB / 333.5 MB, free: 14.63 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.1298, allocations: 47.36 kB / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.1298, allocations: 4 kB / 333.5 MB, free: 14.58 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1299, allocations: 326.8 kB / 333.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.435e-05/0.13, allocations: 44.44 kB / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1301, allocations: 142.6 kB / 334 MB, free: 14.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.708e-05/0.1302, allocations: 63.88 kB / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1302, allocations: 0 / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003009/0.1305, allocations: 213.8 kB / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1306, allocations: 4 kB / 334.3 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1306, allocations: 4.406 kB / 334.3 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.1306, allocations: 12 kB / 334.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1308, allocations: 47.91 kB / 334.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1308, allocations: 11.94 kB / 334.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1309, allocations: 27.69 kB / 334.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.1309, allocations: 11.95 kB / 334.4 MB, free: 13.63 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.1311, allocations: 133.7 kB / 334.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.1311, allocations: 23.75 kB / 334.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.1312, allocations: 28.95 kB / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1312, allocations: 0 / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1312, allocations: 4 kB / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1312, allocations: 4 kB / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.1316, allocations: 241.4 kB / 334.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1317, allocations: 4 kB / 334.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1318, allocations: 31.92 kB / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1318, allocations: 0 / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1318, allocations: 4 kB / 334.9 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1318, allocations: 7.984 kB / 334.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1319, allocations: 4 kB / 334.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1321, allocations: 401.3 kB / 335.3 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.1322, allocations: 100.8 kB / 335.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1322, allocations: 4.062 kB / 335.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.1324, allocations: 7.922 kB / 335.4 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.1324, allocations: 15.89 kB / 335.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1324, allocations: 8 kB / 335.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1325, allocations: 145.5 kB / 335.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1325, allocations: 0 / 335.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003495/0.1329, allocations: 36 kB / 335.6 MB, free: 12.34 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001087/0.133, allocations: 103.2 kB / 335.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1332, allocations: 104.5 kB / 335.8 MB, free: 12.13 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1332, allocations: 0 / 335.8 MB, free: 12.13 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.1333, allocations: 39.92 kB / 335.8 MB, free: 12.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1336, allocations: 23.64 kB / 335.9 MB, free: 12.07 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000928/0.1346, allocations: 0.7582 MB / 336.6 MB, free: 11.28 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1349, allocations: 0.7322 MB / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.916e-05/0.135, allocations: 21.94 kB / 337.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.135, allocations: 23.38 kB / 337.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of SimCode: time 4.3e-07/0.135, allocations: 0 / 337.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of Templates: time 0.003533/0.1386, allocations: 1.207 MB / 338.6 MB, free: 9.27 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches