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.001217/0.001217, allocations: 110.6 kB / 18.4 MB, free: 4.688 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.0009979/0.0009979, allocations: 186.2 kB / 19.34 MB, free: 3.766 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.24/1.24, allocations: 205.1 MB / 225.2 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.001168/0.001168, allocations: 55.91 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07092/0.07209, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003154/0.07526, allocations: 2.454 MB / 378.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005132/0.07579, allocations: 255 kB / 378.5 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.07595, allocations: 8 kB / 378.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.0761, allocations: 47.5 kB / 378.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.07628, allocations: 91.19 kB / 378.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.07648, allocations: 63.92 kB / 378.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.0768, allocations: 330.3 kB / 379 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.07699, allocations: 107 kB / 379.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.07712, allocations: 111.6 kB / 379.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.07731, allocations: 127.4 kB / 379.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.07736, allocations: 28 kB / 379.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.763e-05/0.07742, allocations: 24 kB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.07747, allocations: 63.75 kB / 379.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.07761, allocations: 147.3 kB / 379.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.0779, allocations: 306.9 kB / 379.9 MB, free: 460 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.07791, allocations: 7.984 kB / 379.9 MB, free: 452 kB / 318.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.07792, allocations: 0 / 379.9 MB, free: 452 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.07794, allocations: 0 / 379.9 MB, free: 452 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.1424/0.2203, allocations: 0.558 MB / 380.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2204, allocations: 12.94 kB / 380.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.2204, allocations: 33.5 kB / 380.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.2207, allocations: 246.2 kB / 380.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2207, allocations: 19.03 kB / 380.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.2207, allocations: 31.12 kB / 380.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.2211, allocations: 251.7 kB / 381.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.2211, allocations: 2.594 kB / 381.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.2212, allocations: 16.56 kB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2212, allocations: 8.594 kB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.2215, allocations: 174.3 kB / 381.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.2223, allocations: 0.7465 MB / 382 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.2227, allocations: 271.1 kB / 382.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.2228, allocations: 133.8 kB / 382.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2228, allocations: 12.3 kB / 382.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.2229, allocations: 39.69 kB / 382.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.2229, allocations: 0 / 382.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002332/0.2252, allocations: 1.7 MB / 384.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.2252, allocations: 82.61 kB / 384.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.2254, allocations: 187.2 kB / 384.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2254, allocations: 31.55 kB / 384.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.2255, allocations: 151.5 kB / 384.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.2255, allocations: 166.5 kB / 384.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/0.2256, allocations: 81.36 kB / 384.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.2257, allocations: 339.2 kB / 385.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2258, allocations: 102.2 kB / 385.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.226, allocations: 158.4 kB / 385.4 MB, free: 10 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.2264, allocations: 285 kB / 385.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2264, allocations: 2.812 kB / 385.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004526/0.2268, allocations: 374.3 kB / 386.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2269, allocations: 5.938 kB / 386.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2269, allocations: 1.469 kB / 386.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2269, allocations: 4.75 kB / 386.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.2273, allocations: 102.3 kB / 386.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2273, allocations: 3.906 kB / 386.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.2274, allocations: 7.438 kB / 386.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.2274, allocations: 15.61 kB / 386.2 MB, free: 9.668 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 9.827e-05/0.2275, allocations: 159.5 kB / 386.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.2276, allocations: 34.97 kB / 386.4 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.915e-05/0.2277, allocations: 39.94 kB / 386.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2277, allocations: 2.25 kB / 386.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2277, allocations: 1.609 kB / 386.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2277, allocations: 96.2 kB / 386.6 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.2278, allocations: 13.28 kB / 386.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.228, allocations: 6.344 kB / 386.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.228, allocations: 27.09 kB / 386.6 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007505/0.2288, allocations: 0.5349 MB / 387.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006589/0.2294, allocations: 0.7177 MB / 387.9 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001799/0.2296, allocations: 142.7 kB / 388 MB, free: 8.523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.361e-05/0.2297, allocations: 136.6 kB / 388.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of Backend: time 3e-07/0.2297, allocations: 0 / 388.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006115/0.2303, allocations: 276.2 kB / 388.4 MB, free: 8.293 MB / 318.1 MB Notification: Performance of SimCode: time 0.001249/0.2316, allocations: 1.394 MB / 389.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of Templates: time 0.006822/0.2384, allocations: 3.719 MB / 393.5 MB, free: 6.934 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/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