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.001095/0.001095, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001088/0.001088, allocations: 169.4 kB / 25.33 MB, free: 9.465 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.8157/0.8157, allocations: 158.6 MB / 187.2 MB, free: 2.52 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.142e-06/1.142e-06, allocations: 0 / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.499e-05, allocations: 2.312 kB / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002424/0.002439, allocations: 2.387 MB / 253.4 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.00326, allocations: 0.6163 MB / 254 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.003374, allocations: 7.938 kB / 254 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.003496, allocations: 35.59 kB / 254.1 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.003613, allocations: 71.34 kB / 254.1 MB, free: 472 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.003821, allocations: 67.72 kB / 254.2 MB, free: 404 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.004044, allocations: 262.6 kB / 254.5 MB, free: 140 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.00419, allocations: 60.55 kB / 254.5 MB, free: 80 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.004377, allocations: 155.7 kB / 254.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.004482, allocations: 79.72 kB / 254.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.004511, allocations: 16 kB / 254.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.004536, allocations: 20 kB / 254.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.004569, allocations: 47.83 kB / 254.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.00489, allocations: 79.83 kB / 254.9 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.005089, allocations: 171.3 kB / 255.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005091, allocations: 0 / 255.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005091, allocations: 0 / 255.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.005095, allocations: 0 / 255.1 MB, free: 15.52 MB / 250.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.0004896/0.005585, allocations: 0.539 MB / 255.6 MB, free: 14.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.00562, allocations: 11.98 kB / 255.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.005678, allocations: 44.8 kB / 255.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.005862, allocations: 184.9 kB / 255.9 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.005877, allocations: 16.88 kB / 255.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.005912, allocations: 20.38 kB / 255.9 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.006141, allocations: 189.7 kB / 256.1 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.006153, allocations: 4.188 kB / 256.1 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.006168, allocations: 8.375 kB / 256.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.006178, allocations: 7.938 kB / 256.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.006286, allocations: 78.88 kB / 256.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006353/0.006921, allocations: 0.6763 MB / 256.9 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.007087, allocations: 119 kB / 257 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.007147, allocations: 43.67 kB / 257 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.007166, allocations: 4 kB / 257 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.007188, allocations: 37.39 kB / 257.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.007189, allocations: 7.938 kB / 257.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009246/0.008114, allocations: 0.6335 MB / 257.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.008143, allocations: 55.41 kB / 257.7 MB, free: 12.63 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.008265, allocations: 225.8 kB / 258 MB, free: 12.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.008276, allocations: 25.7 kB / 258 MB, free: 12.36 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.00835, allocations: 195.1 kB / 258.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.008397, allocations: 87.22 kB / 258.3 MB, free: 12.08 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.008447, allocations: 59.3 kB / 258.3 MB, free: 12.01 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.008559, allocations: 0.5 MB / 258.8 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.008611, allocations: 39.95 kB / 258.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.008685, allocations: 82.41 kB / 258.9 MB, free: 11.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.008817, allocations: 138.2 kB / 259.1 MB, free: 11.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.008819, allocations: 0 / 259.1 MB, free: 11.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002335/0.009052, allocations: 209 kB / 259.3 MB, free: 10.99 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.009067, allocations: 14.59 kB / 259.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.009073, allocations: 3.984 kB / 259.3 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.009195, allocations: 31.67 kB / 259.3 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.009331, allocations: 47.91 kB / 259.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000824/0.01015, allocations: 1.819 MB / 261.2 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.01021, allocations: 8 kB / 261.2 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.01022, allocations: 8 kB / 261.2 MB, free: 8.926 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 9.003e-05/0.01031, allocations: 172.5 kB / 261.4 MB, free: 8.746 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.01034, allocations: 23.91 kB / 261.4 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.01037, allocations: 25.95 kB / 261.4 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01037, allocations: 0 / 261.4 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01037, allocations: 4 kB / 261.4 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01038, allocations: 4.031 kB / 261.4 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000791/0.01117, allocations: 0.5736 MB / 262 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01117, allocations: 0 / 262 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.01129, allocations: 43.92 kB / 262.1 MB, free: 8.016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-05/0.01137, allocations: 39.59 kB / 262.1 MB, free: 7.973 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.01138, allocations: 0 / 262.1 MB, free: 7.973 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008177/0.0122, allocations: 1.815 MB / 263.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0122, allocations: 0 / 263.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.01251, allocations: 391.3 kB / 264.3 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.01252, allocations: 15.89 kB / 264.3 MB, free: 5.605 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.01254, allocations: 11.94 kB / 264.3 MB, free: 5.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.0126, allocations: 12.03 kB / 264.3 MB, free: 5.582 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.01264, allocations: 15.97 kB / 264.3 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.01265, allocations: 8 kB / 264.4 MB, free: 5.559 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.319e-05/0.01272, allocations: 164.1 kB / 264.5 MB, free: 5.398 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01272, allocations: 0 / 264.5 MB, free: 5.398 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.01293, allocations: 63.94 kB / 264.6 MB, free: 5.336 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 7.584e-05/0.013, allocations: 99.19 kB / 264.7 MB, free: 5.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.01334, allocations: 316.7 kB / 265 MB, free: 4.902 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01334, allocations: 0 / 265 MB, free: 4.902 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.0135, allocations: 257.3 kB / 265.2 MB, free: 4.629 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01375, allocations: 39.88 kB / 265.3 MB, free: 4.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/0.01466, allocations: 0.5927 MB / 265.9 MB, free: 3.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.713e-05/0.01472, allocations: 88.27 kB / 266 MB, free: 3.852 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.01477, allocations: 21.92 kB / 266 MB, free: 3.828 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.01482, allocations: 20.5 kB / 266 MB, free: 3.809 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01482, allocations: 0 / 266 MB, free: 3.809 MB / 250.7 MB Notification: Performance of Templates: time 0.004306/0.01912, allocations: 2.477 MB / 268.5 MB, free: 1.355 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.717609608080238]