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.0007691/0.0007691, allocations: 88.45 kB / 17.31 MB, free: 5.59 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.000817/0.000817, allocations: 182.1 kB / 18.21 MB, free: 5.191 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.109/1.109, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000214/0.000214, allocations: 7.938 kB / 302.1 MB, free: 6.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06848/0.06871, allocations: 50.42 MB / 352.5 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.001947/0.07067, allocations: 2.162 MB / 354.7 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004101/0.07109, allocations: 251 kB / 354.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.07121, allocations: 4 kB / 354.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.07131, allocations: 39.69 kB / 354.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.07148, allocations: 83.38 kB / 355 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.07162, allocations: 47.95 kB / 355.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.07188, allocations: 306.5 kB / 355.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.07203, allocations: 87.67 kB / 355.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.07213, allocations: 103.5 kB / 355.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.07227, allocations: 123.4 kB / 355.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.07231, allocations: 12 kB / 355.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.115e-05/0.07235, allocations: 12 kB / 355.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.07239, allocations: 39.84 kB / 355.7 MB, free: 476 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.07251, allocations: 165 kB / 355.9 MB, free: 304 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.07269, allocations: 223.6 kB / 356.1 MB, free: 80 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.07269, allocations: 0 / 356.1 MB, free: 80 kB / 286.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.0727, allocations: 4 kB / 356.1 MB, free: 76 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.07271, allocations: 0 / 356.1 MB, free: 76 kB / 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.0005929/0.07331, allocations: 0.5225 MB / 356.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.07335, allocations: 12.03 kB / 356.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.0734, allocations: 32.56 kB / 356.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.0736, allocations: 243.8 kB / 356.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.07363, allocations: 24.88 kB / 357 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.07367, allocations: 24.38 kB / 357 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.07403, allocations: 251.1 kB / 357.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.07405, allocations: 8.094 kB / 357.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.07408, allocations: 11.94 kB / 357.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.0741, allocations: 15.98 kB / 357.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.07436, allocations: 175.9 kB / 357.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.0752, allocations: 0.7536 MB / 358.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.07555, allocations: 277.1 kB / 358.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.07571, allocations: 124.6 kB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.07573, allocations: 11.92 kB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.07576, allocations: 34.56 kB / 358.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.392e-06/0.07577, allocations: 4 kB / 358.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002181/0.07795, allocations: 1.721 MB / 360.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.078, allocations: 81.11 kB / 360.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.07814, allocations: 182.2 kB / 360.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.07817, allocations: 33.7 kB / 360.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.07824, allocations: 132.8 kB / 360.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/0.07835, allocations: 177.3 kB / 360.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.0784, allocations: 49.69 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.07851, allocations: 338.8 kB / 361.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.07866, allocations: 105.1 kB / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.07883, allocations: 153.5 kB / 361.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.07917, allocations: 283.1 kB / 361.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.07918, allocations: 8 kB / 361.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004397/0.07963, allocations: 369.7 kB / 362.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.07965, allocations: 8 kB / 362.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.07966, allocations: 0 / 362.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.07967, allocations: 7.984 kB / 362.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.07999, allocations: 91.91 kB / 362.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.08001, allocations: 8 kB / 362.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.08012, allocations: 8 kB / 362.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.08015, allocations: 16 kB / 362.3 MB, free: 9.395 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.0001137/0.08027, allocations: 161.7 kB / 362.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.08033, allocations: 31.66 kB / 362.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.08042, allocations: 37.88 kB / 362.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.08043, allocations: 8 kB / 362.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.08043, allocations: 0 / 362.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.08044, allocations: 3.984 kB / 362.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.08149, allocations: 0.9572 MB / 363.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.08151, allocations: 3.938 kB / 363.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.08187, allocations: 91.97 kB / 363.6 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.08188, allocations: 11.98 kB / 363.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.08191, allocations: 12 kB / 363.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.08192, allocations: 7.938 kB / 363.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.08192, allocations: 0 / 363.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006155/0.08254, allocations: 0.6433 MB / 364.3 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.0826, allocations: 96.83 kB / 364.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.08264, allocations: 15.98 kB / 364.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.0828, allocations: 4 kB / 364.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.08284, allocations: 35.89 kB / 364.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.08286, allocations: 12 kB / 364.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.08295, allocations: 144.2 kB / 364.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08296, allocations: 0 / 364.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000314/0.08327, allocations: 76 kB / 364.7 MB, free: 6.945 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 7.611e-05/0.08336, allocations: 115.2 kB / 364.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.08374, allocations: 286.8 kB / 365.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.08375, allocations: 0 / 365.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.08393, allocations: 159.6 kB / 365.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.08446, allocations: 68.3 kB / 365.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.08578, allocations: 1.274 MB / 366.6 MB, free: 5.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.08606, allocations: 0.7766 MB / 367.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/0.08614, allocations: 31.44 kB / 367.4 MB, free: 4.164 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.08615, allocations: 0 / 367.4 MB, free: 4.164 MB / 302.1 MB Notification: Performance of Templates: time 0.00473/0.09088, allocations: 3.647 MB / 371 MB, free: 0.5195 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/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