Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001306/0.001306, allocations: 112.2 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.001339/0.001339, allocations: 196.4 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.392/1.392, allocations: 225.6 MB / 250.8 MB, free: 13.36 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.FirstGrounded,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.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,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.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 43.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2381, allocations: 52.15 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004214/0.2423, allocations: 2.382 MB / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2433, allocations: 0.5882 MB / 423.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.2434, allocations: 4 kB / 423.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.2436, allocations: 35.64 kB / 423.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.2437, allocations: 71.34 kB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.2439, allocations: 55.88 kB / 424 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.2442, allocations: 262.8 kB / 424.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2444, allocations: 64.38 kB / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.2445, allocations: 107.5 kB / 424.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.2447, allocations: 107.5 kB / 424.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.2448, allocations: 20 kB / 424.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.398e-05/0.2448, allocations: 20 kB / 424.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.2449, allocations: 43.83 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.245, allocations: 111.4 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.2453, allocations: 252.2 kB / 425 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2453, allocations: 4 kB / 425 MB, free: 11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2453, allocations: 0 / 425 MB, free: 11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2453, allocations: 0 / 425 MB, free: 11 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007657/0.246, allocations: 0.5182 MB / 425.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2461, allocations: 11.89 kB / 425.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.2461, allocations: 28.75 kB / 425.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.2465, allocations: 244.7 kB / 425.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2465, allocations: 12.81 kB / 425.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.2465, allocations: 20.38 kB / 425.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.2469, allocations: 218.1 kB / 426 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.247, allocations: 7.953 kB / 426 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.247, allocations: 8 kB / 426 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.247, allocations: 4 kB / 426 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.2473, allocations: 129.7 kB / 426.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.2483, allocations: 0.7017 MB / 426.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.2486, allocations: 134.5 kB / 427 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.2487, allocations: 64.83 kB / 427 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.2487, allocations: 8 kB / 427.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2488, allocations: 30.56 kB / 427.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.2488, allocations: 0 / 427.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001662/0.2504, allocations: 0.8905 MB / 428 MB, free: 7.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.2505, allocations: 55.41 kB / 428 MB, free: 7.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.2506, allocations: 171.2 kB / 428.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2507, allocations: 29.7 kB / 428.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/0.2508, allocations: 148.3 kB / 428.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.896e-05/0.2508, allocations: 91.2 kB / 428.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.2509, allocations: 49.7 kB / 428.5 MB, free: 7.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2511, allocations: 334.8 kB / 428.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.2512, allocations: 55.92 kB / 428.9 MB, free: 6.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.2513, allocations: 100.2 kB / 429 MB, free: 6.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.2516, allocations: 176.1 kB / 429.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2516, allocations: 0 / 429.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004301/0.252, allocations: 250.1 kB / 429.4 MB, free: 6.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.252, allocations: 4 kB / 429.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2521, allocations: 4.125 kB / 429.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.2522, allocations: 36.78 kB / 429.4 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.2524, allocations: 55.91 kB / 429.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.2537, allocations: 1.481 MB / 431 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.2539, allocations: 8.031 kB / 431 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2539, allocations: 12 kB / 431 MB, free: 4.453 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001383/0.254, allocations: 133.7 kB / 431.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.2541, allocations: 31.91 kB / 431.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.2541, allocations: 25.88 kB / 431.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2541, allocations: 3.938 kB / 431.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2541, allocations: 4 kB / 431.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2541, allocations: 0 / 431.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009612/0.2551, allocations: 0.6471 MB / 431.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2551, allocations: 0 / 431.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.2553, allocations: 43.92 kB / 431.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.2554, allocations: 36.83 kB / 431.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2554, allocations: 8 kB / 431.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.2567, allocations: 1.493 MB / 433.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2567, allocations: 0 / 433.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.2572, allocations: 407.8 kB / 433.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.2573, allocations: 92.97 kB / 433.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.2573, allocations: 12.03 kB / 433.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.2574, allocations: 4 kB / 433.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.2575, allocations: 19.92 kB / 433.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.2575, allocations: 15.98 kB / 434 MB, free: 1.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.2576, allocations: 124.8 kB / 434.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2576, allocations: 0 / 434.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.2579, allocations: 63.94 kB / 434.1 MB, free: 1.039 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.000116/0.258, allocations: 102.4 kB / 434.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005424/0.2586, allocations: 286.5 kB / 434.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2586, allocations: 0 / 434.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.2589, allocations: 214.5 kB / 434.7 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.2593, allocations: 39.44 kB / 434.8 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.2605, allocations: 0.6842 MB / 435.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.2608, allocations: 0.7443 MB / 436.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.102e-05/0.2609, allocations: 25.92 kB / 436.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.2609, allocations: 23.44 kB / 436.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2609, allocations: 3.938 kB / 436.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of Templates: time 0.006092/0.267, allocations: 2.492 MB / 438.7 MB, free: 12.36 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.38138560205698]