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.001132/0.001131, allocations: 117.4 kB / 17.28 MB, free: 6.219 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.00109/0.00109, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.479/1.479, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001366/0.001366, allocations: 47.94 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1133, allocations: 46.63 MB / 326.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00397/0.1173, allocations: 2.149 MB / 328.9 MB, free: 2.637 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003917/0.1177, allocations: 159.4 kB / 329.1 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1179, allocations: 11.94 kB / 329.1 MB, free: 2.469 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.1181, allocations: 15.84 kB / 329.1 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.908e-05/0.1182, allocations: 39.69 kB / 329.1 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1184, allocations: 35.97 kB / 329.2 MB, free: 2.379 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1186, allocations: 183.2 kB / 329.4 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1188, allocations: 54.3 kB / 329.4 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.1189, allocations: 71.7 kB / 329.5 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.119, allocations: 67.64 kB / 329.6 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.1191, allocations: 16 kB / 329.6 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.733e-05/0.1191, allocations: 12 kB / 329.6 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.1191, allocations: 27.92 kB / 329.6 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.1192, allocations: 87.53 kB / 329.7 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1194, allocations: 187.6 kB / 329.9 MB, free: 1.684 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1195, allocations: 0 / 329.9 MB, free: 1.684 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1195, allocations: 0 / 329.9 MB, free: 1.684 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1195, allocations: 0 / 329.9 MB, free: 1.684 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.0006811/0.1202, allocations: 462.6 kB / 330.3 MB, free: 1.184 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1202, allocations: 15.89 kB / 330.3 MB, free: 1.168 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.1203, allocations: 20.75 kB / 330.4 MB, free: 1.148 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1205, allocations: 227.9 kB / 330.6 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1205, allocations: 8.375 kB / 330.6 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.1206, allocations: 16.38 kB / 330.6 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1209, allocations: 186.2 kB / 330.8 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1209, allocations: 11.88 kB / 330.8 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.1209, allocations: 12 kB / 330.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.121, allocations: 4 kB / 330.8 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1211, allocations: 95.88 kB / 330.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1223, allocations: 0.9507 MB / 331.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1224, allocations: 103.8 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.1225, allocations: 50.59 kB / 332 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.1225, allocations: 0 / 332 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1225, allocations: 34.56 kB / 332 MB, free: 15.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 9.02e-07/0.1226, allocations: 4 kB / 332.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002854/0.1228, allocations: 125.3 kB / 332.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.1229, allocations: 106.8 kB / 332.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1231, allocations: 207.8 kB / 332.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1232, allocations: 29.7 kB / 332.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.1233, allocations: 143.8 kB / 332.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1233, allocations: 47.34 kB / 332.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.1234, allocations: 49.84 kB / 332.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1235, allocations: 330.8 kB / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.1236, allocations: 40.45 kB / 333.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1237, allocations: 138.6 kB / 333.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1239, allocations: 206 kB / 333.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1239, allocations: 0 / 333.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002961/0.1242, allocations: 217.3 kB / 333.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.1243, allocations: 11.98 kB / 333.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1243, allocations: 7.938 kB / 333.7 MB, free: 13.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1243, allocations: 4 kB / 333.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1245, allocations: 47.92 kB / 333.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1245, allocations: 11.94 kB / 333.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1246, allocations: 31.62 kB / 333.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1246, allocations: 8 kB / 333.8 MB, free: 13.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.1247, allocations: 141.9 kB / 333.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.1248, allocations: 19.8 kB / 333.9 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.1248, allocations: 16.94 kB / 334 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1249, allocations: 4 kB / 334 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1249, allocations: 0 / 334 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1249, allocations: 7.922 kB / 334 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.1253, allocations: 241.5 kB / 334.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1253, allocations: 0 / 334.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1254, allocations: 31.92 kB / 334.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1254, allocations: 0 / 334.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1254, allocations: 8 kB / 334.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1255, allocations: 3.984 kB / 334.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1255, allocations: 3.938 kB / 334.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.1258, allocations: 381.8 kB / 334.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.1258, allocations: 100.9 kB / 334.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1259, allocations: 4 kB / 334.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.126, allocations: 8 kB / 334.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.1261, allocations: 11.92 kB / 334.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1261, allocations: 4 kB / 334.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1262, allocations: 145.5 kB / 334.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1262, allocations: 0 / 334.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003457/0.1265, allocations: 40 kB / 334.9 MB, free: 12.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.612e-05/0.1266, allocations: 100.2 kB / 335 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1269, allocations: 120.1 kB / 335.1 MB, free: 11.9 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1269, allocations: 0 / 335.1 MB, free: 11.9 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.1269, allocations: 36.44 kB / 335.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.1275, allocations: 24.17 kB / 335.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009395/0.1284, allocations: 0.6766 MB / 335.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1287, allocations: 0.7241 MB / 336.6 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.366e-05/0.1288, allocations: 21.94 kB / 336.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.1288, allocations: 19.44 kB / 336.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1288, allocations: 0 / 336.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Templates: time 0.003804/0.1326, allocations: 1.339 MB / 338 MB, free: 9.008 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (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) 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