Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 47.92 kB / 379 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2112, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003895/0.215, allocations: 2.316 MB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.2157, allocations: 271 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2158, allocations: 7.938 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.216, allocations: 39.58 kB / 434.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.2162, allocations: 91.2 kB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.2163, allocations: 71.84 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.2167, allocations: 314.5 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2169, allocations: 75.58 kB / 435.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.217, allocations: 119.6 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.2172, allocations: 135.4 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.2172, allocations: 24 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.2173, allocations: 28 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.2173, allocations: 59.77 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2175, allocations: 119.5 kB / 436 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.2178, allocations: 320.4 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2178, allocations: 0 / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2178, allocations: 0 / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2178, allocations: 0 / 436.3 MB, free: 2.766 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.0008756/0.2187, allocations: 0.5015 MB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2187, allocations: 8.031 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.2188, allocations: 36.73 kB / 436.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.2191, allocations: 194.8 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.2191, allocations: 17.03 kB / 437 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.2192, allocations: 28.38 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.2197, allocations: 260.3 kB / 437.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2197, allocations: 192 / 437.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.2197, allocations: 15.94 kB / 437.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.2197, allocations: 4 kB / 437.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.22, allocations: 179.8 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009965/0.221, allocations: 0.6133 MB / 438.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.2215, allocations: 259.7 kB / 438.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.2217, allocations: 117.9 kB / 438.5 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.2217, allocations: 7.938 kB / 438.5 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.2217, allocations: 42.53 kB / 438.5 MB, free: 380 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.754e-06/0.2217, allocations: 4 kB / 438.5 MB, free: 376 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002781/0.2245, allocations: 1.422 MB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.2246, allocations: 85.11 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.2248, allocations: 168.1 kB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.2248, allocations: 37.7 kB / 440.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.2249, allocations: 140.8 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.2251, allocations: 186.4 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.2252, allocations: 74.2 kB / 440.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2254, allocations: 342.8 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.2255, allocations: 96.97 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.2258, allocations: 164.8 kB / 441.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.2263, allocations: 278.2 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2263, allocations: 4 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00056/0.2268, allocations: 370 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2268, allocations: 7.938 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2269, allocations: 0 / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2269, allocations: 4 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.2273, allocations: 99.89 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2273, allocations: 4 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2274, allocations: 12 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.2274, allocations: 16 kB / 442 MB, free: 12.72 MB / 350.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.0001544/0.2276, allocations: 153.8 kB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.2277, allocations: 31.8 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.2278, allocations: 41.95 kB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2278, allocations: 0 / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2278, allocations: 0 / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.2278, allocations: 23.81 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.2279, allocations: 11.98 kB / 442.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.228, allocations: 8 kB / 442.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.2281, allocations: 27.95 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009481/0.229, allocations: 0.5231 MB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008808/0.2299, allocations: 0.7222 MB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002085/0.2301, allocations: 134.6 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.2303, allocations: 127.5 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Backend: time 1.61e-07/0.2303, allocations: 0 / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007066/0.231, allocations: 264.2 kB / 444.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 0.001771/0.2328, allocations: 1.395 MB / 445.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of Templates: time 0.008674/0.2414, allocations: 4.499 MB / 450 MB, free: 4.738 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.30067537099967]