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.001116/0.001117, allocations: 104.9 kB / 17.72 MB, free: 5.242 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.001245/0.001245, allocations: 188.1 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 224.5 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.001273/0.001273, allocations: 55.92 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 46.61 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004398/0.115, allocations: 2.471 MB / 377.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005521/0.1156, allocations: 255 kB / 377.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1158, allocations: 4 kB / 377.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.116, allocations: 47.5 kB / 377.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.1162, allocations: 91.2 kB / 378 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.1164, allocations: 63.91 kB / 378 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.1167, allocations: 330.3 kB / 378.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.1169, allocations: 111 kB / 378.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.117, allocations: 115.6 kB / 378.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1172, allocations: 135.3 kB / 378.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.1173, allocations: 24 kB / 378.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.14e-05/0.1173, allocations: 28 kB / 378.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.1174, allocations: 55.78 kB / 378.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1175, allocations: 139.3 kB / 379 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.1178, allocations: 322.9 kB / 379.3 MB, free: 440 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1178, allocations: 0 / 379.3 MB, free: 440 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1178, allocations: 0 / 379.3 MB, free: 440 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1179, allocations: 3.938 kB / 379.3 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.2157/0.3336, allocations: 0.5578 MB / 379.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3337, allocations: 8.25 kB / 379.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.3338, allocations: 33.06 kB / 379.9 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.3341, allocations: 243.3 kB / 380.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.3341, allocations: 19.81 kB / 380.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.3342, allocations: 29.28 kB / 380.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.3346, allocations: 255.7 kB / 380.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.3346, allocations: 2.609 kB / 380.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.3346, allocations: 12.88 kB / 380.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.3347, allocations: 6.688 kB / 380.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.335, allocations: 177.6 kB / 380.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009548/0.3359, allocations: 0.7421 MB / 381.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.3363, allocations: 280.5 kB / 381.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.3365, allocations: 129 kB / 381.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3365, allocations: 8.031 kB / 381.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.3366, allocations: 37.88 kB / 381.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.392e-06/0.3366, allocations: 0 / 381.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002547/0.3391, allocations: 1.703 MB / 383.5 MB, free: 11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.3392, allocations: 82.77 kB / 383.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3393, allocations: 187.2 kB / 383.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3393, allocations: 34.92 kB / 383.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.3394, allocations: 144.1 kB / 383.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.361e-05/0.3395, allocations: 170.5 kB / 384.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.3396, allocations: 77.55 kB / 384.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.3397, allocations: 339 kB / 384.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3399, allocations: 109 kB / 384.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.3401, allocations: 156.3 kB / 384.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.3404, allocations: 287.5 kB / 385.1 MB, free: 9.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3404, allocations: 4.031 kB / 385.1 MB, free: 9.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000497/0.3409, allocations: 367 kB / 385.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.341, allocations: 9.125 kB / 385.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.341, allocations: 1.156 kB / 385.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/0.341, allocations: 4.688 kB / 385.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.3415, allocations: 105.5 kB / 385.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.3415, allocations: 3.219 kB / 385.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3417, allocations: 15.3 kB / 385.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.3417, allocations: 14.97 kB / 385.6 MB, free: 9.637 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.000153/0.3419, allocations: 151 kB / 385.7 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.342, allocations: 34.75 kB / 385.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.3421, allocations: 36.42 kB / 385.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.3421, allocations: 6.766 kB / 385.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.3421, allocations: 0 / 385.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3421, allocations: 4.469 kB / 385.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.3437, allocations: 0.9453 MB / 386.7 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3437, allocations: 3.938 kB / 386.7 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.3441, allocations: 91.5 kB / 386.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3442, allocations: 3.922 kB / 386.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.3442, allocations: 16.47 kB / 386.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/0.3442, allocations: 4 kB / 386.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3442, allocations: 4.062 kB / 386.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008124/0.345, allocations: 0.6417 MB / 387.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.3451, allocations: 111.3 kB / 387.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.3452, allocations: 12.22 kB / 387.6 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.3453, allocations: 11.31 kB / 387.6 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.3454, allocations: 27.02 kB / 387.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.3454, allocations: 13.39 kB / 387.7 MB, free: 8.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3455, allocations: 136.3 kB / 387.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3455, allocations: 0 / 387.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003939/0.3459, allocations: 77.5 kB / 387.9 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.0001187/0.3461, allocations: 111.8 kB / 388 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004896/0.3466, allocations: 302.8 kB / 388.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3466, allocations: 0 / 388.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.3468, allocations: 149.7 kB / 388.4 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.0005867/0.3474, allocations: 72.67 kB / 388.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3488, allocations: 0.9963 MB / 389.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3491, allocations: 0.7749 MB / 390.3 MB, free: 6.492 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.3493, allocations: 34.58 kB / 390.3 MB, free: 6.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.935e-05/0.3494, allocations: 27.84 kB / 390.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3494, allocations: 0 / 390.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of Templates: time 0.009766/0.3592, allocations: 3.119 MB / 393.5 MB, free: 6.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/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