Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 101.6 kB / 17.59 MB, free: 5.426 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.001772/0.001772, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.46/1.46, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 50.86 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1011, allocations: 49.45 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004008/0.1052, allocations: 2.476 MB / 353.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007158/0.1059, allocations: 251 kB / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.1062, allocations: 7.938 kB / 353.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1064, allocations: 47.56 kB / 353.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.1067, allocations: 95.19 kB / 353.6 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.107, allocations: 67.86 kB / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.1074, allocations: 318.5 kB / 354 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.1076, allocations: 95.12 kB / 354.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.1078, allocations: 123.6 kB / 354.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.108, allocations: 127.4 kB / 354.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.1081, allocations: 28 kB / 354.3 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.163e-05/0.1081, allocations: 24 kB / 354.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.1082, allocations: 55.83 kB / 354.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1083, allocations: 143.3 kB / 354.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.1087, allocations: 311.2 kB / 354.9 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1087, allocations: 8 kB / 354.9 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1087, allocations: 0 / 354.9 MB, free: 244 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1087, allocations: 0 / 354.9 MB, free: 244 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008918/0.1096, allocations: 0.5574 MB / 355.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1096, allocations: 12.03 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.1097, allocations: 28.66 kB / 355.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.11, allocations: 252.3 kB / 355.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.11, allocations: 20.94 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.1101, allocations: 32.31 kB / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.1105, allocations: 251.1 kB / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.1106, allocations: 8.094 kB / 356 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.1106, allocations: 11.94 kB / 356 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1106, allocations: 12 kB / 356 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.1109, allocations: 175.9 kB / 356.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.112, allocations: 0.7497 MB / 357 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.1124, allocations: 279.7 kB / 357.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.1126, allocations: 121.6 kB / 357.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1126, allocations: 4 kB / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1126, allocations: 47.16 kB / 357.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.1126, allocations: 0 / 357.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002706/0.1153, allocations: 1.715 MB / 359.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1154, allocations: 85.09 kB / 359.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1156, allocations: 182.2 kB / 359.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1156, allocations: 37.7 kB / 359.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.1157, allocations: 136.7 kB / 359.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1159, allocations: 173.4 kB / 359.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.116, allocations: 78.19 kB / 359.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1161, allocations: 338.8 kB / 360.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.1163, allocations: 109.1 kB / 360.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1165, allocations: 153.5 kB / 360.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.1169, allocations: 284 kB / 360.7 MB, free: 10 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.117, allocations: 0 / 360.7 MB, free: 10 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005353/0.1175, allocations: 373.8 kB / 361 MB, free: 9.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1175, allocations: 7.938 kB / 361 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1175, allocations: 4 kB / 361 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1176, allocations: 3.984 kB / 361 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.1179, allocations: 99.91 kB / 361.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.118, allocations: 0 / 361.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1181, allocations: 16 kB / 361.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.1181, allocations: 19.98 kB / 361.2 MB, free: 9.484 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001485/0.1183, allocations: 154.2 kB / 361.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.1184, allocations: 35.72 kB / 361.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.1184, allocations: 33.88 kB / 361.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.1185, allocations: 4 kB / 361.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1185, allocations: 0 / 361.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.1185, allocations: 7.984 kB / 361.4 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.1198, allocations: 0.955 MB / 362.4 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1198, allocations: 3.938 kB / 362.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.1202, allocations: 87.91 kB / 362.5 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.1202, allocations: 7.984 kB / 362.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.1202, allocations: 12 kB / 362.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1202, allocations: 8.062 kB / 362.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1202, allocations: 3.938 kB / 362.5 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.121, allocations: 0.6433 MB / 363.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.1211, allocations: 96.83 kB / 363.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.1212, allocations: 12 kB / 363.2 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1213, allocations: 12 kB / 363.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.1214, allocations: 27.95 kB / 363.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.1214, allocations: 12 kB / 363.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1215, allocations: 144.2 kB / 363.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1215, allocations: 0 / 363.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.1219, allocations: 80 kB / 363.5 MB, free: 7.047 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.0001271/0.122, allocations: 107.2 kB / 363.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.1226, allocations: 310.8 kB / 363.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1226, allocations: 0 / 363.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.1228, allocations: 166.5 kB / 364.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.1235, allocations: 69.66 kB / 364.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1252, allocations: 1.038 MB / 365.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1255, allocations: 0.7802 MB / 366 MB, free: 4.516 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.1256, allocations: 31.44 kB / 366 MB, free: 4.484 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1257, allocations: 0 / 366 MB, free: 4.484 MB / 302.1 MB Notification: Performance of Templates: time 0.006369/0.132, allocations: 3.67 MB / 369.7 MB, free: 0.8242 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches