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) 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 4.0.0+maint.om/package.mo", uses=false) 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: 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_4.0.0_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_4.0.0_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.001317/0.001317, allocations: 107.8 kB / 17.16 MB, free: 6.328 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.001098/0.001098, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 42.64 kB / 300.6 MB, free: 6.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09147, allocations: 49.46 MB / 350.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003513/0.09503, allocations: 2.141 MB / 352.2 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004096/0.09547, allocations: 159.4 kB / 352.4 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.09563, allocations: 7.938 kB / 352.4 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.0958, allocations: 23.84 kB / 352.4 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.09594, allocations: 31.7 kB / 352.4 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.09612, allocations: 39.97 kB / 352.5 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.09635, allocations: 179.2 kB / 352.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.09651, allocations: 42.17 kB / 352.7 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.09661, allocations: 59.73 kB / 352.7 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.09672, allocations: 71.62 kB / 352.8 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.09676, allocations: 16 kB / 352.8 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.769e-05/0.09679, allocations: 8 kB / 352.8 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.09683, allocations: 31.84 kB / 352.9 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.09691, allocations: 75.61 kB / 352.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.09708, allocations: 135.9 kB / 353.1 MB, free: 1.781 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09709, allocations: 0 / 353.1 MB, free: 1.781 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.0971, allocations: 0 / 353.1 MB, free: 1.781 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.09711, allocations: 0 / 353.1 MB, free: 1.781 MB / 286.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.000601/0.09772, allocations: 470.8 kB / 353.5 MB, free: 1.273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.09777, allocations: 8.031 kB / 353.5 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.09783, allocations: 24.66 kB / 353.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.09805, allocations: 208.1 kB / 353.8 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.09807, allocations: 20.36 kB / 353.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.09812, allocations: 16.38 kB / 353.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.09841, allocations: 186.2 kB / 354 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.09844, allocations: 11.78 kB / 354 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.09847, allocations: 15.94 kB / 354 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.09848, allocations: 8 kB / 354 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.09867, allocations: 95.88 kB / 354.1 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.1, allocations: 0.9547 MB / 355.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1002, allocations: 107.8 kB / 355.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.1003, allocations: 38.52 kB / 355.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1003, allocations: 7.938 kB / 355.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1003, allocations: 34.64 kB / 355.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.1003, allocations: 0 / 355.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003153/0.1006, allocations: 129.9 kB / 355.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.1007, allocations: 110.8 kB / 355.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1009, allocations: 203.8 kB / 355.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1009, allocations: 25.7 kB / 355.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.887e-05/0.101, allocations: 143.9 kB / 355.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1011, allocations: 47.27 kB / 355.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.1011, allocations: 41.94 kB / 355.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1013, allocations: 334.8 kB / 356.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.1013, allocations: 40.45 kB / 356.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1015, allocations: 142.2 kB / 356.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.1017, allocations: 209.5 kB / 356.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1017, allocations: 0 / 356.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003095/0.102, allocations: 213.1 kB / 356.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.102, allocations: 4 kB / 356.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.102, allocations: 4 kB / 356.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1021, allocations: 8 kB / 356.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1022, allocations: 51.91 kB / 356.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.1023, allocations: 12.34 kB / 356.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1024, allocations: 35.62 kB / 357 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.1024, allocations: 8 kB / 357 MB, free: 13.46 MB / 302.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.0001109/0.1025, allocations: 133.7 kB / 357.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.1026, allocations: 19.81 kB / 357.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1027, allocations: 20.92 kB / 357.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1027, allocations: 0 / 357.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1027, allocations: 4 kB / 357.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1027, allocations: 3.938 kB / 357.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1031, allocations: 237.5 kB / 357.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1031, allocations: 8 kB / 357.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1033, allocations: 31.98 kB / 357.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1033, allocations: 0 / 357.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1033, allocations: 4 kB / 357.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1033, allocations: 0 / 357.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1033, allocations: 7.922 kB / 357.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.1036, allocations: 393.6 kB / 357.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.1037, allocations: 100.9 kB / 357.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1038, allocations: 0 / 357.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.1039, allocations: 8.125 kB / 357.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.104, allocations: 15.92 kB / 357.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.104, allocations: 144 / 357.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1041, allocations: 153.5 kB / 358.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1041, allocations: 0 / 358.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.1045, allocations: 39.91 kB / 358.1 MB, free: 12.21 MB / 302.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.0001114/0.1046, allocations: 111.2 kB / 358.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.1048, allocations: 111.7 kB / 358.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1048, allocations: 0 / 358.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.98e-05/0.1049, allocations: 36.73 kB / 358.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.1055, allocations: 23.98 kB / 358.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1067, allocations: 0.699 MB / 359.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.107, allocations: 0.7245 MB / 359.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.107, allocations: 19.44 kB / 359.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.107, allocations: 0 / 359.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Templates: time 0.004124/0.1112, allocations: 1.971 MB / 361.8 MB, free: 8.441 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (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 & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/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) Reference file matches