Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.002194/0.002194, allocations: 105.5 kB / 18.4 MB, free: 4.695 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.003083/0.003083, allocations: 191 kB / 19.33 MB, free: 3.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3/3, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.002452/0.002452, allocations: 51.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1537, allocations: 46.61 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.007158/0.161, allocations: 2.464 MB / 378.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1624, allocations: 255 kB / 378.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004934/0.163, allocations: 4 kB / 378.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.1634, allocations: 43.56 kB / 378.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.164, allocations: 99.12 kB / 378.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.1644, allocations: 59.91 kB / 378.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007645/0.1652, allocations: 326.4 kB / 379 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.1656, allocations: 111 kB / 379.1 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.166, allocations: 119.6 kB / 379.3 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.1664, allocations: 131.4 kB / 379.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.1665, allocations: 31.98 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1667, allocations: 24 kB / 379.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1668, allocations: 55.78 kB / 379.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.1671, allocations: 139.3 kB / 379.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.1678, allocations: 318.9 kB / 379.9 MB, free: 444 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1678, allocations: 4 kB / 379.9 MB, free: 440 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.1678, allocations: 0 / 379.9 MB, free: 440 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.1679, allocations: 4 kB / 379.9 MB, free: 436 kB / 318.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.415/0.5829, allocations: 0.5593 MB / 380.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/0.583, allocations: 9.625 kB / 380.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.5831, allocations: 31.69 kB / 380.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.5837, allocations: 240.8 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.5837, allocations: 21.81 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.5838, allocations: 31.53 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.5845, allocations: 254.8 kB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.5845, allocations: 2.766 kB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.5846, allocations: 15.97 kB / 381.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.5846, allocations: 7.141 kB / 381.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.5851, allocations: 176 kB / 381.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.5868, allocations: 0.744 MB / 382 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.5874, allocations: 276.5 kB / 382.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.5878, allocations: 125.7 kB / 382.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.5878, allocations: 7.359 kB / 382.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.5879, allocations: 44.77 kB / 382.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 3.567e-06/0.5879, allocations: 0 / 382.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.004636/0.5925, allocations: 1.704 MB / 384.2 MB, free: 11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.5926, allocations: 83.55 kB / 384.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.5929, allocations: 189.8 kB / 384.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.593, allocations: 39.23 kB / 384.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.5931, allocations: 142.4 kB / 384.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.5932, allocations: 171.2 kB / 384.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.5934, allocations: 77.91 kB / 384.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5936, allocations: 338.5 kB / 385.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.5939, allocations: 105.6 kB / 385.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.5943, allocations: 155.7 kB / 385.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.595, allocations: 285 kB / 385.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.595, allocations: 0.9375 kB / 385.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009483/0.596, allocations: 373.4 kB / 386.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.596, allocations: 6.062 kB / 386.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.596, allocations: 0 / 386.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/0.5961, allocations: 4.406 kB / 386.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/0.5968, allocations: 103.8 kB / 386.2 MB, free: 9.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.5968, allocations: 2.281 kB / 386.2 MB, free: 9.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.5971, allocations: 16.28 kB / 386.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.5971, allocations: 15.92 kB / 386.2 MB, free: 9.641 MB / 318.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.0002045/0.5973, allocations: 154.9 kB / 386.4 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.5975, allocations: 35.95 kB / 386.4 MB, free: 9.473 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.5976, allocations: 35.97 kB / 386.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5977, allocations: 5.031 kB / 386.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.5977, allocations: 1.438 kB / 386.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5977, allocations: 2.391 kB / 386.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.5998, allocations: 0.9447 MB / 387.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5998, allocations: 1.688 kB / 387.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/0.6006, allocations: 91.03 kB / 387.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.6006, allocations: 2.625 kB / 387.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.6007, allocations: 17.75 kB / 387.5 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.6007, allocations: 2.969 kB / 387.5 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.6007, allocations: 5.188 kB / 387.5 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.602, allocations: 0.6391 MB / 388.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.6021, allocations: 105.6 kB / 388.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.6022, allocations: 15.56 kB / 388.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.6025, allocations: 17.84 kB / 388.3 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.6026, allocations: 28.02 kB / 388.3 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.6027, allocations: 13 kB / 388.3 MB, free: 8.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.6029, allocations: 135.3 kB / 388.5 MB, free: 8.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6029, allocations: 0 / 388.5 MB, free: 8.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007716/0.6037, allocations: 79.2 kB / 388.6 MB, free: 8.156 MB / 318.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.0001678/0.6038, allocations: 112.4 kB / 388.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008387/0.6047, allocations: 298.2 kB / 389 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6047, allocations: 1.125 kB / 389 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.6051, allocations: 153.1 kB / 389.1 MB, free: 7.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6061, allocations: 67.45 kB / 389.2 MB, free: 7.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.6086, allocations: 1.028 MB / 390.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.609, allocations: 0.7746 MB / 391 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.6092, allocations: 30.94 kB / 391 MB, free: 6.453 MB / 318.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6092, allocations: 0 / 391 MB, free: 6.453 MB / 318.1 MB Notification: Performance of Templates: time 0.0132/0.6224, allocations: 3.759 MB / 394.8 MB, free: 6.062 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches