Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 47.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2315, allocations: 52.12 MB / 420.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003766/0.2353, allocations: 2.397 MB / 423.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2364, allocations: 0.5882 MB / 423.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.2365, allocations: 4 kB / 423.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.2367, allocations: 43.58 kB / 423.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.2368, allocations: 79.33 kB / 424 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.2371, allocations: 47.94 kB / 424 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.2374, allocations: 274.7 kB / 424.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.2376, allocations: 82.77 kB / 424.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.2377, allocations: 103.6 kB / 424.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.2379, allocations: 115.4 kB / 424.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.2379, allocations: 20 kB / 424.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-05/0.238, allocations: 24 kB / 424.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.238, allocations: 43.83 kB / 424.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.2381, allocations: 127.4 kB / 424.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.2385, allocations: 264.4 kB / 425 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2385, allocations: 0 / 425 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2385, allocations: 4 kB / 425 MB, free: 11.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.2385, allocations: 0 / 425 MB, free: 11.04 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.000776/0.2392, allocations: 0.5299 MB / 425.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2393, allocations: 11.89 kB / 425.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.2393, allocations: 32.69 kB / 425.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.2397, allocations: 238.2 kB / 425.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2397, allocations: 16.81 kB / 425.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.2397, allocations: 28.33 kB / 425.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.2401, allocations: 199.5 kB / 426.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.2401, allocations: 3.984 kB / 426.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2402, allocations: 12 kB / 426.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2402, allocations: 7.938 kB / 426.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.2405, allocations: 137.7 kB / 426.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009949/0.2415, allocations: 0.6309 MB / 426.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.2418, allocations: 170.6 kB / 427 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.2419, allocations: 84.83 kB / 427.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.242, allocations: 4 kB / 427.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.242, allocations: 42.55 kB / 427.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.242, allocations: 0 / 427.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002015/0.244, allocations: 1.066 MB / 428.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.2441, allocations: 59.34 kB / 428.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.2443, allocations: 184 kB / 428.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2443, allocations: 29.7 kB / 428.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2444, allocations: 140.8 kB / 428.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.602e-05/0.2445, allocations: 115 kB / 428.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.2446, allocations: 57.69 kB / 428.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2447, allocations: 326.8 kB / 429.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2449, allocations: 75.95 kB / 429.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.2451, allocations: 111.6 kB / 429.3 MB, free: 6.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.2454, allocations: 185.3 kB / 429.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2454, allocations: 0 / 429.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005433/0.2459, allocations: 306.2 kB / 429.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2459, allocations: 4 kB / 429.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2459, allocations: 0 / 429.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.2461, allocations: 44.83 kB / 429.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.2464, allocations: 59.91 kB / 429.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.248, allocations: 1.74 MB / 431.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.2482, allocations: 12.09 kB / 431.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.2482, allocations: 11.94 kB / 431.7 MB, free: 3.953 MB / 334.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.000147/0.2483, allocations: 153.6 kB / 431.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.2484, allocations: 23.8 kB / 431.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.2484, allocations: 26.66 kB / 431.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2484, allocations: 4 kB / 431.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2484, allocations: 0 / 431.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.2484, allocations: 3.984 kB / 431.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.2496, allocations: 0.7816 MB / 432.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2496, allocations: 0 / 432.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.2499, allocations: 60 kB / 432.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.25, allocations: 36.83 kB / 432.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.25, allocations: 4 kB / 432.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.2513, allocations: 1.5 MB / 434.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2513, allocations: 0 / 434.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007476/0.2521, allocations: 486.6 kB / 434.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.2521, allocations: 96.97 kB / 434.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.2522, allocations: 12.03 kB / 434.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.2523, allocations: 8 kB / 434.8 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.2524, allocations: 23.97 kB / 434.9 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.2524, allocations: 8 kB / 434.9 MB, free: 468 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.2525, allocations: 135.2 kB / 435 MB, free: 332 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2525, allocations: 0 / 435 MB, free: 332 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.2529, allocations: 68 kB / 435.1 MB, free: 264 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.253, allocations: 107.2 kB / 435.2 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006486/0.2537, allocations: 323.6 kB / 435.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2537, allocations: 0 / 435.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.2541, allocations: 242.5 kB / 435.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.2545, allocations: 35.92 kB / 435.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2559, allocations: 0.7365 MB / 436.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.2563, allocations: 0.7603 MB / 437.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.31e-05/0.2563, allocations: 22.28 kB / 437.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.2564, allocations: 23.38 kB / 437.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2564, allocations: 4 kB / 437.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Templates: time 0.006935/0.2633, allocations: 2.835 MB / 440.1 MB, free: 11.11 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.34976608492434]