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.0007442/0.0007441, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.000775/0.0007751, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.326/1.326, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003017, allocations: 7.938 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 50.42 MB / 351.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002621/0.1068, allocations: 2.166 MB / 354 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.1072, allocations: 251 kB / 354.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1074, allocations: 4 kB / 354.2 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.1075, allocations: 35.69 kB / 354.3 MB, free: 1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.1077, allocations: 79.39 kB / 354.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.1078, allocations: 47.95 kB / 354.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.1081, allocations: 314.5 kB / 354.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1083, allocations: 79.69 kB / 354.8 MB, free: 496 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.1084, allocations: 107.5 kB / 354.9 MB, free: 388 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.1086, allocations: 119.4 kB / 355 MB, free: 268 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.1086, allocations: 12 kB / 355 MB, free: 256 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.441e-05/0.1086, allocations: 16 kB / 355 MB, free: 240 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.1087, allocations: 43.83 kB / 355.1 MB, free: 196 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1088, allocations: 157 kB / 355.2 MB, free: 32 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1091, allocations: 299.1 kB / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1091, allocations: 0 / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1091, allocations: 0 / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1091, allocations: 0 / 355.5 MB, free: 15.74 MB / 302.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.0006625/0.1098, allocations: 0.5225 MB / 356.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1098, allocations: 8.031 kB / 356.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.1099, allocations: 32.56 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1101, allocations: 243.8 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1102, allocations: 16.94 kB / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.1102, allocations: 32.38 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.1106, allocations: 255.1 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1107, allocations: 8.094 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.1107, allocations: 15.94 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1107, allocations: 4 kB / 356.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.111, allocations: 179.9 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009738/0.112, allocations: 0.7536 MB / 357.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.1124, allocations: 278.2 kB / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.1126, allocations: 121.7 kB / 358 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1126, allocations: 7.938 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1126, allocations: 38.56 kB / 358 MB, free: 13.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.1126, allocations: 4 kB / 358 MB, free: 13.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002479/0.1151, allocations: 1.716 MB / 359.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1152, allocations: 93.05 kB / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1153, allocations: 174.3 kB / 360 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.1154, allocations: 33.7 kB / 360 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.1155, allocations: 136.8 kB / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.1156, allocations: 181.4 kB / 360.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.1157, allocations: 41.7 kB / 360.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1158, allocations: 338.8 kB / 360.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.1159, allocations: 105.1 kB / 360.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1161, allocations: 153.5 kB / 361 MB, free: 9.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.1165, allocations: 283.1 kB / 361.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1166, allocations: 3.938 kB / 361.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005038/0.1171, allocations: 369.8 kB / 361.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1171, allocations: 7.984 kB / 361.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.1171, allocations: 3.984 kB / 361.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1171, allocations: 7.938 kB / 361.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.1175, allocations: 99.91 kB / 361.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1175, allocations: 7.984 kB / 361.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1176, allocations: 16.06 kB / 361.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.1176, allocations: 16 kB / 361.8 MB, free: 9.051 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.000138/0.1178, allocations: 153.7 kB / 361.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.1179, allocations: 31.66 kB / 361.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.98e-05/0.118, allocations: 37.88 kB / 362 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.118, allocations: 7.984 kB / 362 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.118, allocations: 3.984 kB / 362 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.118, allocations: 0 / 362 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.1192, allocations: 0.9572 MB / 363 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1192, allocations: 12 kB / 363 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.1196, allocations: 95.89 kB / 363.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1197, allocations: 4 kB / 363.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.1197, allocations: 4 kB / 363.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1197, allocations: 4 kB / 363.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1197, allocations: 3.938 kB / 363.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007169/0.1204, allocations: 0.6472 MB / 363.7 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.1205, allocations: 96.83 kB / 363.8 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.1205, allocations: 8 kB / 363.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1207, allocations: 15.98 kB / 363.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1208, allocations: 23.97 kB / 363.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1208, allocations: 12 kB / 363.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1209, allocations: 136.3 kB / 364 MB, free: 6.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1209, allocations: 7.938 kB / 364 MB, free: 6.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.1213, allocations: 80 kB / 364.1 MB, free: 6.613 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.0001165/0.1214, allocations: 107.2 kB / 364.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.1218, allocations: 290.8 kB / 364.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1219, allocations: 0 / 364.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.1221, allocations: 163.6 kB / 364.6 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.1227, allocations: 64.16 kB / 364.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.1243, allocations: 1.245 MB / 365.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1246, allocations: 0.7766 MB / 366.7 MB, free: 3.902 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.1248, allocations: 38.95 kB / 366.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.1248, allocations: 27.44 kB / 366.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1249, allocations: 0 / 366.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of Templates: time 0.00591/0.1308, allocations: 2.876 MB / 369.7 MB, free: 0.9844 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/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