Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 55.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2165, allocations: 50.55 MB / 409.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003137/0.2197, allocations: 2.482 MB / 412.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.2201, allocations: 263 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2202, allocations: 4 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.2204, allocations: 43.58 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.2205, allocations: 95.14 kB / 412.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.2207, allocations: 63.91 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.221, allocations: 318.5 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.2212, allocations: 99.11 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2213, allocations: 119.6 kB / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.2215, allocations: 135.4 kB / 413.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.2215, allocations: 24 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.879e-05/0.2216, allocations: 28 kB / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.2216, allocations: 51.84 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.2218, allocations: 147.3 kB / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.2221, allocations: 316 kB / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2221, allocations: 4 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2221, allocations: 0 / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.2221, allocations: 0 / 414.1 MB, free: 13.34 MB / 334.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.000745/0.2228, allocations: 0.5653 MB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.2229, allocations: 8.031 kB / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.2229, allocations: 32.56 kB / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.2232, allocations: 255.7 kB / 414.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2232, allocations: 20.94 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.2233, allocations: 24.38 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.2237, allocations: 263.1 kB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.2237, allocations: 16.02 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.2238, allocations: 11.94 kB / 415.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.2238, allocations: 8 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.2241, allocations: 175.8 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.225, allocations: 0.7461 MB / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.2254, allocations: 269 kB / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.2256, allocations: 129.7 kB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.2256, allocations: 4 kB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.2256, allocations: 38.56 kB / 416.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.913e-06/0.2257, allocations: 0 / 416.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002507/0.2282, allocations: 1.718 MB / 418.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.2282, allocations: 81.11 kB / 418.4 MB, free: 8.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.2284, allocations: 187.2 kB / 418.6 MB, free: 8.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.2284, allocations: 29.7 kB / 418.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.2285, allocations: 144.7 kB / 418.8 MB, free: 8.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2286, allocations: 177.4 kB / 419 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.2287, allocations: 74.27 kB / 419 MB, free: 8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2288, allocations: 342.8 kB / 419.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.229, allocations: 97.09 kB / 419.5 MB, free: 7.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.2292, allocations: 157.5 kB / 419.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.2296, allocations: 290.1 kB / 419.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2296, allocations: 4 kB / 419.9 MB, free: 7.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005062/0.2301, allocations: 369.7 kB / 420.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2302, allocations: 6.812 kB / 420.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2302, allocations: 0 / 420.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2302, allocations: 4 kB / 420.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.2306, allocations: 99.95 kB / 420.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2306, allocations: 8 kB / 420.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2307, allocations: 12 kB / 420.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.2307, allocations: 12 kB / 420.4 MB, free: 6.594 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.000129/0.2309, allocations: 153.7 kB / 420.5 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.2309, allocations: 27.66 kB / 420.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-05/0.231, allocations: 41.86 kB / 420.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2311, allocations: 4 kB / 420.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2311, allocations: 0 / 420.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.2311, allocations: 104.8 kB / 420.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.2312, allocations: 8 kB / 420.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.2313, allocations: 8 kB / 420.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.2314, allocations: 23.97 kB / 420.8 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008462/0.2322, allocations: 0.5281 MB / 421.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007685/0.233, allocations: 0.7339 MB / 422 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001821/0.2332, allocations: 144.5 kB / 422.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.087e-05/0.2333, allocations: 127.2 kB / 422.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.2333, allocations: 0 / 422.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.234, allocations: 279 kB / 422.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of SimCode: time 0.001534/0.2355, allocations: 1.386 MB / 423.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Templates: time 0.007026/0.2426, allocations: 3.794 MB / 427.7 MB, free: 15.17 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches