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.001909/0.001909, allocations: 103.5 kB / 20.43 MB, free: 1.199 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.002478/0.002478, allocations: 193.7 kB / 23.71 MB, free: 4.422 MB / 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.513/1.513, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.001559/0.001559, allocations: 48.02 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2323, allocations: 52.18 MB / 423.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003672/0.2359, allocations: 2.246 MB / 425.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.237, allocations: 0.5571 MB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2371, allocations: 4 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.2372, allocations: 35.59 kB / 425.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.2374, allocations: 75.36 kB / 426 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.2376, allocations: 51.92 kB / 426 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.2379, allocations: 266.8 kB / 426.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.238, allocations: 56.36 kB / 426.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.2382, allocations: 103.6 kB / 426.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2383, allocations: 95.47 kB / 426.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.2384, allocations: 16 kB / 426.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.2384, allocations: 20 kB / 426.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.2385, allocations: 47.84 kB / 426.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.2386, allocations: 95.53 kB / 426.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.2389, allocations: 253.6 kB / 427 MB, free: 10.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2389, allocations: 0 / 427 MB, free: 10.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2389, allocations: 0 / 427 MB, free: 10.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.2389, allocations: 0 / 427 MB, free: 10.69 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.0007516/0.2396, allocations: 449.6 kB / 427.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2397, allocations: 8.031 kB / 427.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.2397, allocations: 28.75 kB / 427.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.2401, allocations: 182.8 kB / 427.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2401, allocations: 16.81 kB / 427.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.2401, allocations: 20.38 kB / 427.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.2405, allocations: 214.2 kB / 427.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.2405, allocations: 3.953 kB / 427.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.2406, allocations: 8 kB / 427.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.2406, allocations: 8 kB / 427.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.2408, allocations: 129.5 kB / 428 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009851/0.2418, allocations: 0.5882 MB / 428.6 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.2421, allocations: 136.7 kB / 428.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.2422, allocations: 67.58 kB / 428.8 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2422, allocations: 4 kB / 428.8 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.2423, allocations: 34.5 kB / 428.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.744e-06/0.2423, allocations: 0 / 428.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001601/0.2439, allocations: 0.7468 MB / 429.6 MB, free: 7.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.2439, allocations: 59.34 kB / 429.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.2441, allocations: 158.3 kB / 429.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2441, allocations: 29.7 kB / 429.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2442, allocations: 152.4 kB / 430 MB, free: 7.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.2443, allocations: 91.22 kB / 430.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.2444, allocations: 45.7 kB / 430.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2445, allocations: 334.8 kB / 430.4 MB, free: 7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.2446, allocations: 55.97 kB / 430.5 MB, free: 6.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.2448, allocations: 100.3 kB / 430.6 MB, free: 6.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.2451, allocations: 164.1 kB / 430.7 MB, free: 6.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2451, allocations: 0 / 430.7 MB, free: 6.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004587/0.2455, allocations: 254 kB / 431 MB, free: 6.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2456, allocations: 12.12 kB / 431 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2456, allocations: 0 / 431 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.2457, allocations: 36.83 kB / 431 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.246, allocations: 47.92 kB / 431.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.2473, allocations: 1.355 MB / 432.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.2474, allocations: 11.94 kB / 432.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.2474, allocations: 16.05 kB / 432.5 MB, free: 4.816 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.0001344/0.2476, allocations: 129.8 kB / 432.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.2476, allocations: 19.86 kB / 432.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.2477, allocations: 25.91 kB / 432.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2477, allocations: 4 kB / 432.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2477, allocations: 0 / 432.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.2477, allocations: 7.922 kB / 432.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008993/0.2486, allocations: 0.5579 MB / 433.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2486, allocations: 4 kB / 433.2 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.2488, allocations: 39.97 kB / 433.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.2489, allocations: 36.91 kB / 433.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.2489, allocations: 11.98 kB / 433.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.2502, allocations: 1.355 MB / 434.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2503, allocations: 3.938 kB / 434.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.251, allocations: 396.1 kB / 435 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.251, allocations: 19.8 kB / 435.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.251, allocations: 12 kB / 435.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2511, allocations: 8 kB / 435.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.2512, allocations: 20 kB / 435.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2512, allocations: 8.062 kB / 435.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.2514, allocations: 132.2 kB / 435.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2514, allocations: 0 / 435.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003477/0.2517, allocations: 60 kB / 435.3 MB, free: 1.789 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.0001254/0.2518, allocations: 103.1 kB / 435.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005905/0.2524, allocations: 282.7 kB / 435.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2524, allocations: 4.062 kB / 435.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.2528, allocations: 204.4 kB / 435.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.2532, allocations: 51.28 kB / 435.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2547, allocations: 0.6855 MB / 436.6 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.2548, allocations: 138.5 kB / 436.7 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.167e-05/0.2549, allocations: 17.95 kB / 436.8 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.255, allocations: 23.42 kB / 436.8 MB, free: 212 kB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.255, allocations: 0 / 436.8 MB, free: 212 kB / 334.1 MB Notification: Performance of Templates: time 0.007141/0.2621, allocations: 2.701 MB / 439.5 MB, free: 13.55 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.557214844971895]