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.001248/0.001247, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001358/0.001359, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.317/1.317, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009764/0.0009764, allocations: 55.23 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08399/0.08498, allocations: 49.43 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003519/0.08853, allocations: 2.486 MB / 354 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004784/0.08903, allocations: 255.1 kB / 354.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.08915, allocations: 7.938 kB / 354.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.08931, allocations: 39.58 kB / 354.3 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.08948, allocations: 95.19 kB / 354.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.08967, allocations: 59.92 kB / 354.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.08997, allocations: 322.5 kB / 354.7 MB, free: 444 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.09016, allocations: 107 kB / 354.8 MB, free: 332 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.09027, allocations: 119.6 kB / 355 MB, free: 212 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.09043, allocations: 127.4 kB / 355.1 MB, free: 84 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.09048, allocations: 24 kB / 355.1 MB, free: 60 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.816e-05/0.09052, allocations: 24 kB / 355.1 MB, free: 36 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.09059, allocations: 55.91 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.09072, allocations: 147.3 kB / 355.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.09101, allocations: 314.8 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.09102, allocations: 0 / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.09103, allocations: 4 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.09104, allocations: 0 / 355.6 MB, free: 15.52 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.000774/0.09182, allocations: 0.5691 MB / 356.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.09186, allocations: 12.03 kB / 356.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.09192, allocations: 28.66 kB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.09223, allocations: 248.3 kB / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.09225, allocations: 16.94 kB / 356.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.09232, allocations: 32.38 kB / 356.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.09273, allocations: 255.1 kB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.09276, allocations: 4.094 kB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.09279, allocations: 15.94 kB / 356.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.0928, allocations: 8 kB / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.09309, allocations: 179.9 kB / 357 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.09411, allocations: 0.7341 MB / 357.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.0945, allocations: 283.5 kB / 358 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.09468, allocations: 125.7 kB / 358.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.09471, allocations: 4 kB / 358.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.09474, allocations: 43.12 kB / 358.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.09474, allocations: 0 / 358.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002464/0.09721, allocations: 1.719 MB / 359.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.09727, allocations: 85.05 kB / 360 MB, free: 10.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.09745, allocations: 182.2 kB / 360.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.09748, allocations: 37.7 kB / 360.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.09757, allocations: 136.7 kB / 360.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.09769, allocations: 173.5 kB / 360.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/0.0978, allocations: 74.2 kB / 360.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.09793, allocations: 342.8 kB / 360.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.0981, allocations: 109.1 kB / 361 MB, free: 9.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.0983, allocations: 153.5 kB / 361.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.09869, allocations: 284 kB / 361.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.0987, allocations: 0 / 361.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004879/0.0992, allocations: 381.7 kB / 361.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.09922, allocations: 4 kB / 361.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.09923, allocations: 4 kB / 361.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.09925, allocations: 0 / 361.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.09963, allocations: 103.8 kB / 361.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.09965, allocations: 3.984 kB / 361.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.09977, allocations: 12 kB / 361.9 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.0998, allocations: 16 kB / 361.9 MB, free: 8.773 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.0001358/0.09994, allocations: 154.3 kB / 362.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.1, allocations: 31.66 kB / 362.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.034e-05/0.1001, allocations: 33.88 kB / 362.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1001, allocations: 7.984 kB / 362.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1001, allocations: 0 / 362.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1001, allocations: 4 kB / 362.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.1013, allocations: 0.9491 MB / 363.1 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1014, allocations: 4 kB / 363.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.1018, allocations: 91.89 kB / 363.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1018, allocations: 4 kB / 363.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.1018, allocations: 15.94 kB / 363.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1018, allocations: 0 / 363.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1018, allocations: 0 / 363.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.1025, allocations: 0.6396 MB / 363.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1026, allocations: 100.8 kB / 364 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.1027, allocations: 12 kB / 364 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1028, allocations: 15.98 kB / 364 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1029, allocations: 19.97 kB / 364 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1029, allocations: 12 kB / 364 MB, free: 6.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.603e-05/0.103, allocations: 144.3 kB / 364.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.103, allocations: 3.938 kB / 364.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.1034, allocations: 76 kB / 364.2 MB, free: 6.355 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.0001196/0.1035, allocations: 115.3 kB / 364.4 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.104, allocations: 290.7 kB / 364.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.104, allocations: 0 / 364.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.1042, allocations: 162.7 kB / 364.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.1048, allocations: 71.81 kB / 364.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1062, allocations: 1.017 MB / 365.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1066, allocations: 0.7764 MB / 366.7 MB, free: 3.863 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1067, allocations: 34.97 kB / 366.7 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.1068, allocations: 27.44 kB / 366.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1068, allocations: 0 / 366.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of Templates: time 0.006032/0.1128, allocations: 3.038 MB / 369.8 MB, free: 0.7852 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 -s cvode -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