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.001159/0.001159, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001267/0.001267, allocations: 183 kB / 18.66 MB, free: 4.414 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.484/1.484, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00133/0.001331, allocations: 59.92 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1066, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004369/0.1111, allocations: 2.463 MB / 377.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1124, allocations: 255 kB / 377.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.1129, allocations: 4 kB / 377.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1131, allocations: 47.52 kB / 377.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.1136, allocations: 87.19 kB / 378 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1139, allocations: 63.92 kB / 378 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.1143, allocations: 330.3 kB / 378.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.1146, allocations: 111 kB / 378.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1148, allocations: 119.6 kB / 378.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.115, allocations: 127.4 kB / 378.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.115, allocations: 24 kB / 378.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.1151, allocations: 24 kB / 378.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.1152, allocations: 59.77 kB / 378.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1153, allocations: 151.3 kB / 379 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.1157, allocations: 314.9 kB / 379.3 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1157, allocations: 0 / 379.3 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1157, allocations: 0 / 379.3 MB, free: 436 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.1157, allocations: 0 / 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.2113/0.3271, allocations: 0.5613 MB / 379.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3271, allocations: 9.984 kB / 379.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.3272, allocations: 33.03 kB / 379.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.3276, allocations: 248.3 kB / 380.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3276, allocations: 18.03 kB / 380.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/0.3277, allocations: 33.95 kB / 380.2 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.3281, allocations: 250.7 kB / 380.4 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.3281, allocations: 2.156 kB / 380.4 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.3281, allocations: 14.69 kB / 380.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3282, allocations: 9.344 kB / 380.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.3285, allocations: 175.9 kB / 380.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009724/0.3294, allocations: 0.7462 MB / 381.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.3298, allocations: 267.3 kB / 381.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.33, allocations: 127.7 kB / 381.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.33, allocations: 11.14 kB / 381.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3301, allocations: 37.81 kB / 381.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.3301, allocations: 3.094 kB / 381.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002549/0.3326, allocations: 1.704 MB / 383.5 MB, free: 11.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3327, allocations: 83.08 kB / 383.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.3329, allocations: 188.1 kB / 383.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.3329, allocations: 37.73 kB / 383.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.333, allocations: 143.2 kB / 383.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.3331, allocations: 172.6 kB / 384.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.3332, allocations: 78.66 kB / 384.2 MB, free: 10.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.3333, allocations: 337.9 kB / 384.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.3335, allocations: 106.4 kB / 384.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.3337, allocations: 158 kB / 384.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.334, allocations: 285.3 kB / 385.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.334, allocations: 0.5625 kB / 385.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004676/0.3345, allocations: 374 kB / 385.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3345, allocations: 5.062 kB / 385.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3346, allocations: 2.328 kB / 385.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3346, allocations: 3.688 kB / 385.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.335, allocations: 100.2 kB / 385.5 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.335, allocations: 2.859 kB / 385.5 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3351, allocations: 16.22 kB / 385.5 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.3351, allocations: 15.77 kB / 385.6 MB, free: 9.883 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.000115/0.3352, allocations: 155.4 kB / 385.7 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.3353, allocations: 34.97 kB / 385.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.169e-05/0.3354, allocations: 36.25 kB / 385.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3354, allocations: 4.625 kB / 385.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3354, allocations: 1.953 kB / 385.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.3354, allocations: 3.375 kB / 385.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.3366, allocations: 0.9469 MB / 386.7 MB, free: 9.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3366, allocations: 1.688 kB / 386.7 MB, free: 9.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.337, allocations: 90.27 kB / 386.8 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.337, allocations: 3.562 kB / 386.8 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.337, allocations: 17.22 kB / 386.9 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.337, allocations: 7.219 kB / 386.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.337, allocations: 9.406 kB / 386.9 MB, free: 9.035 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006985/0.3377, allocations: 0.6362 MB / 387.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.3378, allocations: 106.2 kB / 387.6 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.3378, allocations: 14.69 kB / 387.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.338, allocations: 12 kB / 387.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.3381, allocations: 30.23 kB / 387.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3381, allocations: 14.5 kB / 387.7 MB, free: 8.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.095e-05/0.3382, allocations: 134.9 kB / 387.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3382, allocations: 0 / 387.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.3385, allocations: 77.77 kB / 387.9 MB, free: 8.395 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.0001069/0.3386, allocations: 109.2 kB / 388 MB, free: 8.297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.3392, allocations: 297.2 kB / 388.3 MB, free: 8.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3392, allocations: 1.25 kB / 388.3 MB, free: 8.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.3394, allocations: 152.5 kB / 388.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.34, allocations: 71.08 kB / 388.5 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.3417, allocations: 0.9964 MB / 389.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.342, allocations: 0.7753 MB / 390.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.3421, allocations: 33.48 kB / 390.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.3422, allocations: 27.41 kB / 390.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3422, allocations: 4 kB / 390.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of Templates: time 0.00718/0.3494, allocations: 3.116 MB / 393.5 MB, free: 6.477 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