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.001082/0.001082, allocations: 110.7 kB / 16.51 MB, free: 6.715 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.001122/0.001122, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009814/0.0009814, allocations: 51.42 kB / 299.9 MB, free: 6.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08059/0.08158, allocations: 49.44 MB / 349.4 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003181/0.0848, allocations: 2.525 MB / 351.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003946/0.08521, allocations: 255 kB / 352.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.08532, allocations: 4 kB / 352.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.08548, allocations: 35.69 kB / 352.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.08563, allocations: 79.39 kB / 352.3 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.08579, allocations: 51.94 kB / 352.3 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.08607, allocations: 314.5 kB / 352.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.08625, allocations: 83.67 kB / 352.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.08635, allocations: 103.6 kB / 352.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.08651, allocations: 127.4 kB / 352.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.08655, allocations: 16 kB / 353 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.557e-05/0.0866, allocations: 20 kB / 353 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.08665, allocations: 51.77 kB / 353 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.08678, allocations: 131.3 kB / 353.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.08704, allocations: 303.1 kB / 353.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.08705, allocations: 0 / 353.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.08706, allocations: 0 / 353.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.08707, allocations: 4 kB / 353.5 MB, free: 0.7305 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007621/0.08784, allocations: 0.5652 MB / 354 MB, free: 116 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.08788, allocations: 11.97 kB / 354 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.08794, allocations: 28.66 kB / 354.1 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.08818, allocations: 251.8 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.08821, allocations: 20.94 kB / 354.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.08827, allocations: 28.38 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.08867, allocations: 251.1 kB / 354.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.0887, allocations: 8.078 kB / 354.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.08873, allocations: 15.94 kB / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.08875, allocations: 8 kB / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.08903, allocations: 175.9 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009336/0.08997, allocations: 0.7458 MB / 355.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.09035, allocations: 282.4 kB / 355.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.09053, allocations: 121.7 kB / 355.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.09056, allocations: 11.94 kB / 356 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.09059, allocations: 39.19 kB / 356 MB, free: 14.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.483e-06/0.09059, allocations: 0 / 356 MB, free: 14.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.0025/0.0931, allocations: 1.711 MB / 357.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.09316, allocations: 93.05 kB / 357.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.09332, allocations: 178.2 kB / 358 MB, free: 11.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.09336, allocations: 41.7 kB / 358 MB, free: 11.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.09345, allocations: 136.7 kB / 358.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.09357, allocations: 173.5 kB / 358.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.683e-05/0.09368, allocations: 70.27 kB / 358.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.09381, allocations: 342.8 kB / 358.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.09399, allocations: 101.1 kB / 358.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.0942, allocations: 161.5 kB / 359 MB, free: 10.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.09459, allocations: 278.2 kB / 359.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.0946, allocations: 0 / 359.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005038/0.09511, allocations: 373.8 kB / 359.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.09513, allocations: 6.188 kB / 359.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.09515, allocations: 7.938 kB / 359.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.09516, allocations: 0 / 359.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.09554, allocations: 108 kB / 359.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.09556, allocations: 0 / 359.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.09568, allocations: 12 kB / 359.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.0957, allocations: 16 kB / 359.8 MB, free: 9.98 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.0001297/0.09584, allocations: 153.7 kB / 359.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.09592, allocations: 31.66 kB / 359.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.419e-05/0.096, allocations: 37.86 kB / 360 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.09601, allocations: 4 kB / 360 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.09602, allocations: 3.938 kB / 360 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.09603, allocations: 7.984 kB / 360 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.09721, allocations: 0.955 MB / 360.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.09723, allocations: 3.938 kB / 361 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.09764, allocations: 95.89 kB / 361 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.09766, allocations: 4 kB / 361.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.09769, allocations: 12 kB / 361.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.09769, allocations: 4 kB / 361.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.0977, allocations: 3.938 kB / 361.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.09841, allocations: 0.6395 MB / 361.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.09849, allocations: 104.8 kB / 361.8 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.09853, allocations: 11.94 kB / 361.8 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.09871, allocations: 12 kB / 361.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.09876, allocations: 23.97 kB / 361.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.09878, allocations: 15.98 kB / 361.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.397e-05/0.09888, allocations: 144.2 kB / 362 MB, free: 7.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09889, allocations: 0 / 362 MB, free: 7.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.09925, allocations: 76 kB / 362.1 MB, free: 7.539 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 9.812e-05/0.09935, allocations: 111.2 kB / 362.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.09979, allocations: 290.8 kB / 362.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0998, allocations: 0 / 362.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.1, allocations: 158.7 kB / 362.6 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.1006, allocations: 67.89 kB / 362.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.102, allocations: 1.127 MB / 363.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1023, allocations: 0.7767 MB / 364.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1024, allocations: 30.97 kB / 364.6 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.1025, allocations: 27.44 kB / 364.7 MB, free: 4.895 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1025, allocations: 4 kB / 364.7 MB, free: 4.891 MB / 302.1 MB Notification: Performance of Templates: time 0.0055/0.108, allocations: 2.903 MB / 367.6 MB, free: 2.008 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