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.0008435/0.0008435, allocations: 97.92 kB / 16.31 MB, free: 5.996 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.0009109/0.0009109, allocations: 184.5 kB / 17.2 MB, free: 5.914 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.274/1.274, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002418, allocations: 6.094 kB / 300.7 MB, free: 6.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.08651, allocations: 50.43 MB / 351.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002142/0.08869, allocations: 1.963 MB / 353.1 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003938/0.0891, allocations: 275.1 kB / 353.4 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.08921, allocations: 7.938 kB / 353.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.618e-05/0.08927, allocations: 31.75 kB / 353.4 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.08945, allocations: 103.7 kB / 353.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.08959, allocations: 51.94 kB / 353.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.08983, allocations: 215.6 kB / 353.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.09001, allocations: 77.69 kB / 353.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.0901, allocations: 99.64 kB / 353.9 MB, free: 8.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.09025, allocations: 115.5 kB / 354.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.09028, allocations: 16 kB / 354.1 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.672e-05/0.09033, allocations: 12 kB / 354.1 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.09037, allocations: 39.84 kB / 354.1 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.09043, allocations: 73.58 kB / 354.2 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.09064, allocations: 231.3 kB / 354.4 MB, free: 8.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.09064, allocations: 0 / 354.4 MB, free: 8.438 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09065, allocations: 0 / 354.4 MB, free: 8.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.09066, allocations: 0 / 354.4 MB, free: 8.438 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.0006954/0.09137, allocations: 0.5262 MB / 354.9 MB, free: 7.863 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.09141, allocations: 8.031 kB / 355 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.09147, allocations: 43.58 kB / 355 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.09173, allocations: 238.6 kB / 355.2 MB, free: 7.539 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.09176, allocations: 16.56 kB / 355.2 MB, free: 7.523 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.09181, allocations: 31.91 kB / 355.3 MB, free: 7.492 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.09218, allocations: 246.6 kB / 355.5 MB, free: 7.242 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.09221, allocations: 3.938 kB / 355.5 MB, free: 7.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.09223, allocations: 12 kB / 355.5 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.09225, allocations: 4 kB / 355.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.09252, allocations: 183.8 kB / 355.7 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.09344, allocations: 0.746 MB / 356.5 MB, free: 6.242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.09381, allocations: 283.5 kB / 356.7 MB, free: 5.949 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.09384, allocations: 4 kB / 356.7 MB, free: 5.945 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.09387, allocations: 42.5 kB / 356.8 MB, free: 5.895 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.09388, allocations: 4 kB / 356.8 MB, free: 5.891 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002355/0.09624, allocations: 1.709 MB / 358.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.0963, allocations: 89.06 kB / 358.6 MB, free: 3.906 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.09648, allocations: 190.1 kB / 358.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.09652, allocations: 37.7 kB / 358.8 MB, free: 3.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.09662, allocations: 140.6 kB / 358.9 MB, free: 3.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.09675, allocations: 173.4 kB / 359.1 MB, free: 3.348 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.09678, allocations: 12 kB / 359.1 MB, free: 3.336 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.0969, allocations: 338.8 kB / 359.5 MB, free: 2.996 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.09707, allocations: 97.09 kB / 359.6 MB, free: 2.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.09727, allocations: 165.4 kB / 359.7 MB, free: 2.723 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.09746, allocations: 122.3 kB / 359.8 MB, free: 2.605 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.09747, allocations: 4 kB / 359.8 MB, free: 2.602 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004686/0.09794, allocations: 354.7 kB / 360.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.09796, allocations: 8 kB / 360.2 MB, free: 2.242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.09799, allocations: 3.984 kB / 360.2 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.09801, allocations: 8.062 kB / 360.2 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.09838, allocations: 99.84 kB / 360.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.0984, allocations: 4 kB / 360.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.09851, allocations: 15.95 kB / 360.3 MB, free: 2.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.09854, allocations: 15.98 kB / 360.3 MB, free: 2.098 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.09868, allocations: 153.7 kB / 360.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.09875, allocations: 27.62 kB / 360.5 MB, free: 1.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.09883, allocations: 33.88 kB / 360.5 MB, free: 1.883 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.09884, allocations: 8 kB / 360.6 MB, free: 1.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.09885, allocations: 4 kB / 360.6 MB, free: 1.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.09887, allocations: 3.984 kB / 360.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.1, allocations: 0.9538 MB / 361.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1, allocations: 0 / 361.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.1004, allocations: 91.89 kB / 361.6 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1004, allocations: 4 kB / 361.6 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1004, allocations: 12 kB / 361.6 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1005, allocations: 0 / 361.6 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1005, allocations: 7.938 kB / 361.6 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.1011, allocations: 0.6719 MB / 362.3 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.1012, allocations: 100.7 kB / 362.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.1013, allocations: 12 kB / 362.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.1014, allocations: 19.89 kB / 362.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.1015, allocations: 31.95 kB / 362.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1015, allocations: 12 kB / 362.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.759e-05/0.1016, allocations: 136.3 kB / 362.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1016, allocations: 0 / 362.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.1019, allocations: 76 kB / 362.7 MB, free: 15.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001311/0.1021, allocations: 123.1 kB / 362.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.1025, allocations: 286.7 kB / 363.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1025, allocations: 0 / 363.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.1027, allocations: 156.8 kB / 363.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.1031, allocations: 48.2 kB / 363.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1045, allocations: 1.21 MB / 364.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1048, allocations: 0.7884 MB / 365.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.1049, allocations: 34.95 kB / 365.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.105, allocations: 27.44 kB / 365.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.105, allocations: 0 / 365.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of Templates: time 0.005305/0.1103, allocations: 2.756 MB / 368.1 MB, free: 10.15 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","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches