Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.00142/0.00142, allocations: 75.77 kB / 22.46 MB, free: 2.09 MB / 18.57 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.001041/0.001041, allocations: 165.9 kB / 25.75 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9334/0.9334, allocations: 158.6 MB / 187.6 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.702e-05, allocations: 2.312 kB / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002364/0.002381, allocations: 2.389 MB / 253.5 MB, free: 5.414 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007819/0.003163, allocations: 0.6125 MB / 254.1 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.003272, allocations: 8 kB / 254.1 MB, free: 4.785 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.003397, allocations: 35.53 kB / 254.1 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.003506, allocations: 79.33 kB / 254.2 MB, free: 4.672 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.003683, allocations: 55.8 kB / 254.3 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.003902, allocations: 270.6 kB / 254.5 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.004035, allocations: 56.56 kB / 254.6 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.004194, allocations: 147.7 kB / 254.7 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.004295, allocations: 87.64 kB / 254.8 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.004326, allocations: 20 kB / 254.8 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.004349, allocations: 20 kB / 254.9 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.004381, allocations: 43.83 kB / 254.9 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.004445, allocations: 79.83 kB / 255 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.004628, allocations: 167.3 kB / 255.1 MB, free: 3.742 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.00463, allocations: 0 / 255.1 MB, free: 3.742 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004631, allocations: 0 / 255.1 MB, free: 3.742 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.004636, allocations: 0 / 255.1 MB, free: 3.742 MB / 234.7 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.0004774/0.005113, allocations: 0.5351 MB / 255.7 MB, free: 3.172 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.005148, allocations: 19.92 kB / 255.7 MB, free: 3.152 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/0.005209, allocations: 40.8 kB / 255.7 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.005405, allocations: 180.9 kB / 255.9 MB, free: 2.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.005419, allocations: 16.88 kB / 255.9 MB, free: 2.895 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.005451, allocations: 24.38 kB / 256 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.005672, allocations: 189.7 kB / 256.1 MB, free: 2.664 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.005684, allocations: 4.188 kB / 256.1 MB, free: 2.66 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.0057, allocations: 4.375 kB / 256.1 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.005708, allocations: 11.94 kB / 256.2 MB, free: 2.645 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.005822, allocations: 82.86 kB / 256.2 MB, free: 2.566 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008763/0.006698, allocations: 0.6685 MB / 256.9 MB, free: 1.855 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.006849, allocations: 115 kB / 257 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.006913, allocations: 51.59 kB / 257.1 MB, free: 1.676 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.006926, allocations: 4 kB / 257.1 MB, free: 1.672 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.006947, allocations: 45.39 kB / 257.1 MB, free: 1.613 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.006948, allocations: 0 / 257.1 MB, free: 1.613 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008582/0.007807, allocations: 0.6335 MB / 257.8 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.007833, allocations: 55.41 kB / 257.8 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.007953, allocations: 221.8 kB / 258 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.007966, allocations: 29.7 kB / 258 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.008047, allocations: 191.1 kB / 258.2 MB, free: 396 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.008095, allocations: 95.2 kB / 258.3 MB, free: 300 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.008146, allocations: 55.36 kB / 258.4 MB, free: 236 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.008268, allocations: 0.5039 MB / 258.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.008321, allocations: 35.95 kB / 258.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.008395, allocations: 90.34 kB / 259 MB, free: 15.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.008538, allocations: 142.3 kB / 259.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008539, allocations: 0 / 259.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002338/0.008773, allocations: 213 kB / 259.4 MB, free: 15.19 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.008787, allocations: 7.938 kB / 259.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.008792, allocations: 0 / 259.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.008917, allocations: 31.66 kB / 259.4 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.009051, allocations: 51.92 kB / 259.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008083/0.009859, allocations: 1.799 MB / 261.2 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.009921, allocations: 8 kB / 261.3 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.009932, allocations: 8 kB / 261.3 MB, free: 13.15 MB / 250.7 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 8.998e-05/0.01002, allocations: 176.4 kB / 261.4 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.01005, allocations: 23.91 kB / 261.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.01008, allocations: 22.11 kB / 261.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01008, allocations: 7.984 kB / 261.5 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01009, allocations: 0 / 261.5 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01009, allocations: 8.016 kB / 261.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.01059, allocations: 0.5774 MB / 262.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01059, allocations: 0 / 262.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.01071, allocations: 43.91 kB / 262.1 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.287e-05/0.0108, allocations: 39.59 kB / 262.2 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.01081, allocations: 8.062 kB / 262.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.01183, allocations: 1.803 MB / 264 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01183, allocations: 4 kB / 264 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.01214, allocations: 391.3 kB / 264.4 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.01216, allocations: 15.91 kB / 264.4 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.01217, allocations: 7.938 kB / 264.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/0.01223, allocations: 8.031 kB / 264.4 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.01228, allocations: 28.08 kB / 264.4 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.01229, allocations: 4 kB / 264.4 MB, free: 9.773 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.369e-05/0.01235, allocations: 164.2 kB / 264.6 MB, free: 9.613 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01235, allocations: 0 / 264.6 MB, free: 9.613 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.01256, allocations: 56 kB / 264.6 MB, free: 9.559 MB / 250.7 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 8.312e-05/0.01265, allocations: 107.2 kB / 264.7 MB, free: 9.445 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.013, allocations: 320.5 kB / 265 MB, free: 9.113 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.013, allocations: 0 / 265 MB, free: 9.113 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.01316, allocations: 261.3 kB / 265.3 MB, free: 8.836 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.01343, allocations: 37.12 kB / 265.3 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.01434, allocations: 0.5877 MB / 265.9 MB, free: 8.172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.62e-05/0.01439, allocations: 88.25 kB / 266 MB, free: 8.066 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.01445, allocations: 17.95 kB / 266 MB, free: 8.047 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.01448, allocations: 16.5 kB / 266 MB, free: 8.031 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01448, allocations: 0 / 266 MB, free: 8.031 MB / 250.7 MB Notification: Performance of Templates: time 0.004231/0.01871, allocations: 2.486 MB / 268.5 MB, free: 5.57 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.756199302151799]