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.0008198/0.0008198, allocations: 96.27 kB / 17.3 MB, free: 6.34 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.000818/0.0008182, allocations: 177 kB / 18.2 MB, free: 5.527 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.514/1.514, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0005262/0.0005264, allocations: 11.98 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.0978, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002285/0.1001, allocations: 1.791 MB / 330.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.1006, allocations: 163.4 kB / 330.9 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1007, allocations: 0 / 330.9 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.1009, allocations: 19.84 kB / 330.9 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.101, allocations: 39.64 kB / 331 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.1011, allocations: 35.95 kB / 331 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.1014, allocations: 175.2 kB / 331.2 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1016, allocations: 50.16 kB / 331.2 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.1016, allocations: 55.8 kB / 331.3 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1018, allocations: 63.64 kB / 331.3 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1018, allocations: 8 kB / 331.3 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.507e-05/0.1018, allocations: 8 kB / 331.4 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.1019, allocations: 23.92 kB / 331.4 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.635e-05/0.102, allocations: 113.2 kB / 331.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1022, allocations: 163.6 kB / 331.6 MB, free: 1.035 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1022, allocations: 3.938 kB / 331.7 MB, free: 1.031 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1022, allocations: 0 / 331.7 MB, free: 1.031 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1022, allocations: 0 / 331.7 MB, free: 1.031 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.0005442/0.1027, allocations: 442.7 kB / 332.1 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1028, allocations: 12.03 kB / 332.1 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.1029, allocations: 16.75 kB / 332.1 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1031, allocations: 216 kB / 332.3 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1031, allocations: 8.375 kB / 332.3 MB, free: 272 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.1032, allocations: 20.38 kB / 332.4 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.1035, allocations: 190.2 kB / 332.5 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.1035, allocations: 15.78 kB / 332.6 MB, free: 24 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.1035, allocations: 8 kB / 332.6 MB, free: 16 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1035, allocations: 4 kB / 332.6 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.1037, allocations: 99.88 kB / 332.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.1049, allocations: 0.9506 MB / 333.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1051, allocations: 103.8 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.1051, allocations: 46.66 kB / 333.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.1052, allocations: 0 / 333.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1052, allocations: 38.56 kB / 333.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.1052, allocations: 0 / 333.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002938/0.1055, allocations: 133.5 kB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.1056, allocations: 106.8 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1058, allocations: 207.8 kB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1058, allocations: 25.7 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.1059, allocations: 143.8 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1059, allocations: 51.27 kB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.106, allocations: 25.7 kB / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1061, allocations: 330.8 kB / 334.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.1062, allocations: 36.45 kB / 334.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1063, allocations: 150.6 kB / 335 MB, free: 13.35 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1065, allocations: 197.5 kB / 335.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1065, allocations: 0 / 335.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002982/0.1068, allocations: 225.1 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1068, allocations: 8 kB / 335.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1069, allocations: 0 / 335.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1069, allocations: 8 kB / 335.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.107, allocations: 47.86 kB / 335.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.107, allocations: 8 kB / 335.5 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1072, allocations: 31.62 kB / 335.5 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1072, allocations: 12.38 kB / 335.5 MB, free: 12.77 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.0001283/0.1073, allocations: 145.7 kB / 335.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.1074, allocations: 15.81 kB / 335.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.1074, allocations: 16.94 kB / 335.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1074, allocations: 0 / 335.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1075, allocations: 4.562 kB / 335.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1075, allocations: 7.922 kB / 335.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.1079, allocations: 233.6 kB / 335.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1079, allocations: 0 / 335.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.108, allocations: 31.92 kB / 336 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.108, allocations: 4 kB / 336 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1081, allocations: 11.98 kB / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1081, allocations: 0 / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1081, allocations: 3.938 kB / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1084, allocations: 393.6 kB / 336.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.1085, allocations: 96.84 kB / 336.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1085, allocations: 8.062 kB / 336.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.1086, allocations: 4 kB / 336.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.1087, allocations: 11.92 kB / 336.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1087, allocations: 8 kB / 336.5 MB, free: 11.69 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1088, allocations: 145.5 kB / 336.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1088, allocations: 0 / 336.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.1092, allocations: 36 kB / 336.7 MB, free: 11.52 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.348e-05/0.1093, allocations: 100.2 kB / 336.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1095, allocations: 107.8 kB / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1095, allocations: 0 / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.1095, allocations: 39.92 kB / 336.9 MB, free: 11.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.11, allocations: 27.64 kB / 336.9 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009914/0.111, allocations: 0.7744 MB / 337.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1114, allocations: 0.7206 MB / 338.4 MB, free: 9.688 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.85e-05/0.1114, allocations: 25.81 kB / 338.5 MB, free: 9.664 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1115, allocations: 19.44 kB / 338.5 MB, free: 9.645 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1115, allocations: 0 / 338.5 MB, free: 9.645 MB / 286.1 MB Notification: Performance of Templates: time 0.003626/0.1151, allocations: 1.251 MB / 339.7 MB, free: 8.395 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