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.001045/0.001045, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.001284/0.001283, allocations: 192.5 kB / 18.67 MB, free: 4.426 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.4/1.4, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 43.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3074, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004086/0.3116, allocations: 2.485 MB / 403.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3127, allocations: 259 kB / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.313, allocations: 4 kB / 404.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.3134, allocations: 43.56 kB / 404.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.3137, allocations: 95.14 kB / 404.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.314, allocations: 63.91 kB / 404.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.3146, allocations: 314.5 kB / 404.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.3148, allocations: 107.1 kB / 404.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.315, allocations: 115.6 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.3153, allocations: 131.4 kB / 405 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.3153, allocations: 24 kB / 405 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.618e-05/0.3154, allocations: 28 kB / 405 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.3155, allocations: 55.83 kB / 405.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3156, allocations: 147.3 kB / 405.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.316, allocations: 316 kB / 405.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.316, allocations: 0 / 405.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.316, allocations: 0 / 405.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.316, allocations: 0 / 405.5 MB, free: 4.703 MB / 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.0009764/0.317, allocations: 0.5692 MB / 406.1 MB, free: 4.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3171, allocations: 12.03 kB / 406.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3172, allocations: 32.56 kB / 406.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.3176, allocations: 251.8 kB / 406.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3176, allocations: 16.94 kB / 406.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.3177, allocations: 28.28 kB / 406.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.3181, allocations: 259.1 kB / 406.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.3181, allocations: 8.172 kB / 406.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.3182, allocations: 11.94 kB / 406.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.3182, allocations: 8 kB / 406.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.3185, allocations: 179.8 kB / 406.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3196, allocations: 0.742 MB / 407.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.32, allocations: 271.7 kB / 407.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.3202, allocations: 129.7 kB / 408 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3202, allocations: 8 kB / 408 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3202, allocations: 30.56 kB / 408.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 2.324e-06/0.3202, allocations: 0 / 408.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002704/0.323, allocations: 1.715 MB / 409.8 MB, free: 100 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.323, allocations: 85.16 kB / 409.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3232, allocations: 178.3 kB / 410 MB, free: 15.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3233, allocations: 33.7 kB / 410.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3234, allocations: 144.7 kB / 410.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.3235, allocations: 181.3 kB / 410.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3236, allocations: 78.25 kB / 410.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3238, allocations: 338.8 kB / 410.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.324, allocations: 105.1 kB / 410.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.3242, allocations: 153.5 kB / 411.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.3246, allocations: 290.7 kB / 411.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3246, allocations: 0 / 411.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005319/0.3251, allocations: 365.8 kB / 411.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3251, allocations: 4 kB / 411.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3252, allocations: 4 kB / 411.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3252, allocations: 4 kB / 411.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.3256, allocations: 103.9 kB / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3256, allocations: 4.062 kB / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3257, allocations: 12 kB / 411.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3257, allocations: 16 kB / 411.8 MB, free: 13.95 MB / 334.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.0001455/0.3259, allocations: 158.1 kB / 412 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.326, allocations: 39.55 kB / 412 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/0.3261, allocations: 37.88 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3261, allocations: 4 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3261, allocations: 0 / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3261, allocations: 3.984 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.3274, allocations: 0.9387 MB / 413 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.3274, allocations: 7.984 kB / 413 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.3278, allocations: 95.84 kB / 413.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3278, allocations: 0 / 413.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.3279, allocations: 15.94 kB / 413.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3279, allocations: 12.05 kB / 413.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3279, allocations: 0 / 413.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.3287, allocations: 0.6355 MB / 413.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.3288, allocations: 100.8 kB / 413.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.3288, allocations: 15.98 kB / 413.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.329, allocations: 11.94 kB / 413.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.3291, allocations: 31.95 kB / 413.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.3291, allocations: 12 kB / 414 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3292, allocations: 136.2 kB / 414.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3292, allocations: 0 / 414.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.3296, allocations: 80 kB / 414.2 MB, free: 11.52 MB / 334.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.0001512/0.3298, allocations: 119.2 kB / 414.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000496/0.3303, allocations: 286.7 kB / 414.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3303, allocations: 0 / 414.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.3305, allocations: 162.2 kB / 414.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.3311, allocations: 70.89 kB / 414.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.3327, allocations: 1.026 MB / 415.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.3331, allocations: 0.7763 MB / 416.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.436e-05/0.3332, allocations: 31.44 kB / 416.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3332, allocations: 0 / 416.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of Templates: time 0.006404/0.3397, allocations: 3.694 MB / 420.3 MB, free: 5.301 MB / 334.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