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.001111/0.001111, allocations: 104 kB / 17.59 MB, free: 5.559 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.001151/0.001151, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.392/1.392, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 50.52 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.09995, allocations: 49.43 MB / 350.7 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003913/0.1039, allocations: 2.099 MB / 352.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005621/0.1045, allocations: 171.4 kB / 353 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.1047, allocations: 7.938 kB / 353 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.105, allocations: 23.72 kB / 353 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.1051, allocations: 47.58 kB / 353.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1054, allocations: 35.95 kB / 353.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.1057, allocations: 187.2 kB / 353.3 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.1059, allocations: 54.3 kB / 353.3 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.106, allocations: 63.78 kB / 353.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.1062, allocations: 75.62 kB / 353.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.1062, allocations: 16 kB / 353.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.43e-05/0.1062, allocations: 12 kB / 353.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.1063, allocations: 31.86 kB / 353.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1064, allocations: 83.59 kB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1067, allocations: 187.5 kB / 353.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1067, allocations: 4 kB / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1067, allocations: 0 / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1067, allocations: 0 / 353.8 MB, free: 1.344 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.0007162/0.1074, allocations: 454.9 kB / 354.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1075, allocations: 15.89 kB / 354.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.1075, allocations: 20.66 kB / 354.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1078, allocations: 212.1 kB / 354.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1078, allocations: 20.36 kB / 354.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.1079, allocations: 16.38 kB / 354.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1082, allocations: 190 kB / 354.7 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1082, allocations: 7.844 kB / 354.7 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.1082, allocations: 12 kB / 354.7 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1082, allocations: 4 kB / 354.7 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.1084, allocations: 103.4 kB / 354.8 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.1099, allocations: 0.9623 MB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.11, allocations: 103.8 kB / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.1101, allocations: 42.66 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.1101, allocations: 4 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1101, allocations: 30.56 kB / 356 MB, free: 14.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.964e-06/0.1101, allocations: 4 kB / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003316/0.1105, allocations: 129.9 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1105, allocations: 102.8 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1107, allocations: 207.8 kB / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1108, allocations: 25.7 kB / 356.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.1109, allocations: 147.8 kB / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.1109, allocations: 51.25 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/0.111, allocations: 45.88 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1111, allocations: 330.8 kB / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.1112, allocations: 40.45 kB / 357 MB, free: 13.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1113, allocations: 143.8 kB / 357.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1116, allocations: 201.6 kB / 357.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1116, allocations: 0 / 357.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003164/0.1119, allocations: 217.5 kB / 357.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1119, allocations: 11.94 kB / 357.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1119, allocations: 4 kB / 357.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.112, allocations: 7.984 kB / 357.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1121, allocations: 51.92 kB / 357.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1121, allocations: 7.984 kB / 357.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.1123, allocations: 31.62 kB / 357.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1123, allocations: 8 kB / 357.7 MB, free: 13.03 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.0001032/0.1124, allocations: 137.7 kB / 357.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.1125, allocations: 23.83 kB / 357.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1125, allocations: 16.94 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1126, allocations: 4 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1126, allocations: 0 / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1126, allocations: 3.938 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.113, allocations: 237.5 kB / 358.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.113, allocations: 0 / 358.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1132, allocations: 35.92 kB / 358.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.1132, allocations: 0 / 358.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1132, allocations: 4 kB / 358.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1132, allocations: 0 / 358.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1132, allocations: 7.984 kB / 358.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1136, allocations: 389.7 kB / 358.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1137, allocations: 100.9 kB / 358.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.1137, allocations: 4 kB / 358.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1139, allocations: 3.938 kB / 358.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.1139, allocations: 15.94 kB / 358.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1139, allocations: 8.125 kB / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.114, allocations: 149.5 kB / 358.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.114, allocations: 0 / 358.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000398/0.1144, allocations: 39.91 kB / 358.9 MB, free: 11.78 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.0001178/0.1146, allocations: 99.25 kB / 359 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.1148, allocations: 120.1 kB / 359.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1148, allocations: 0 / 359.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.265e-05/0.1149, allocations: 39.92 kB / 359.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.1155, allocations: 23.98 kB / 359.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.1166, allocations: 0.6629 MB / 359.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1169, allocations: 0.7203 MB / 360.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.117, allocations: 19.44 kB / 360.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.117, allocations: 3.938 kB / 360.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Templates: time 0.004098/0.1211, allocations: 1.988 MB / 362.5 MB, free: 8.031 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