Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.00181/0.00181, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002213/0.002213, allocations: 209.7 kB / 24.49 MB, free: 3.969 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 51.91 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2171, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003641/0.2207, allocations: 2.25 MB / 434.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2218, allocations: 0.6193 MB / 435.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.2219, allocations: 11.94 kB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.2221, allocations: 35.66 kB / 435.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.2222, allocations: 79.27 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.2225, allocations: 59.92 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.2228, allocations: 278.6 kB / 435.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.223, allocations: 79.03 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.2231, allocations: 111.6 kB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.2233, allocations: 123.5 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.2233, allocations: 20 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.29e-05/0.2234, allocations: 28 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.2235, allocations: 51.78 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2236, allocations: 103.5 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.2239, allocations: 269.8 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2239, allocations: 0 / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2239, allocations: 0 / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2239, allocations: 0 / 436.4 MB, free: 2.629 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007555/0.2247, allocations: 465.5 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2247, allocations: 12.02 kB / 436.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.2249, allocations: 36.75 kB / 436.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.2252, allocations: 190.8 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2252, allocations: 16.81 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.2252, allocations: 24.33 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.2256, allocations: 191.6 kB / 437.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2256, allocations: 12 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2257, allocations: 4 kB / 437.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.2257, allocations: 8 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.226, allocations: 141.7 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008938/0.2269, allocations: 0.5018 MB / 438 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.2272, allocations: 166.5 kB / 438.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.2274, allocations: 90.44 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.2274, allocations: 4 kB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2274, allocations: 38.56 kB / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.2274, allocations: 0 / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001943/0.2294, allocations: 0.9235 MB / 439.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2294, allocations: 63.41 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.2296, allocations: 159.1 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.2296, allocations: 29.7 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.2297, allocations: 148.7 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/0.2298, allocations: 114.9 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.2299, allocations: 57.64 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.23, allocations: 338.7 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2302, allocations: 75.91 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.2303, allocations: 107.8 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.2307, allocations: 196.2 kB / 440.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2307, allocations: 0 / 440.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005333/0.2312, allocations: 287.2 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2312, allocations: 8 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2312, allocations: 0 / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.2314, allocations: 40.83 kB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.2317, allocations: 55.97 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.2332, allocations: 1.61 MB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.2333, allocations: 8.031 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2334, allocations: 12 kB / 442.5 MB, free: 12.22 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.2335, allocations: 138.3 kB / 442.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.2335, allocations: 23.92 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.2336, allocations: 34.58 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2336, allocations: 0 / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2336, allocations: 0 / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.2336, allocations: 23.89 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.2337, allocations: 4 kB / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2338, allocations: 8 kB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.2339, allocations: 19.95 kB / 442.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008026/0.2347, allocations: 393.7 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006739/0.2353, allocations: 0.51 MB / 443.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001638/0.2355, allocations: 88.47 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.474e-05/0.2356, allocations: 123.3 kB / 443.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Backend: time 2.4e-07/0.2356, allocations: 0 / 443.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007954/0.2364, allocations: 345.1 kB / 444.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of SimCode: time 0.001393/0.2378, allocations: 1.173 MB / 445.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of Templates: time 0.007805/0.2456, allocations: 3.47 MB / 448.8 MB, free: 5.824 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.337286027999653]