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.0008802/0.0008802, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.001995, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000712/0.000712, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009712/0.001683, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8265/0.8265, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1415/0.968, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.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.563e-06/1.563e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.396e-05, allocations: 5.406 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00362/0.003644, allocations: 2.409 MB / 224.2 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.004646, allocations: 0.6279 MB / 224.9 MB, free: 13.11 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.004778, allocations: 7.938 kB / 224.9 MB, free: 13.1 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.004889, allocations: 43.62 kB / 224.9 MB, free: 13.06 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.005043, allocations: 75.3 kB / 225 MB, free: 12.98 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.005188, allocations: 47.92 kB / 225 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.005472, allocations: 274.5 kB / 225.3 MB, free: 12.67 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.005626, allocations: 70.47 kB / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.005882, allocations: 179.6 kB / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.006015, allocations: 75.73 kB / 225.6 MB, free: 12.35 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.006056, allocations: 20 kB / 225.6 MB, free: 12.33 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.374e-05/0.00609, allocations: 20 kB / 225.7 MB, free: 12.31 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.006126, allocations: 31.88 kB / 225.7 MB, free: 12.28 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.006208, allocations: 67.88 kB / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.006452, allocations: 159.3 kB / 225.9 MB, free: 12.06 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.626e-05/0.006468, allocations: 0 / 225.9 MB, free: 12.06 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.006469, allocations: 0 / 225.9 MB, free: 12.06 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.006485, allocations: 0 / 225.9 MB, free: 12.06 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.0006387/0.007124, allocations: 479.9 kB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.007162, allocations: 8.031 kB / 226.4 MB, free: 11.56 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.007228, allocations: 32.91 kB / 226.4 MB, free: 11.53 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.007457, allocations: 162.2 kB / 226.6 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.007476, allocations: 12.88 kB / 226.6 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.007514, allocations: 28.27 kB / 226.6 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.007752, allocations: 176 kB / 226.8 MB, free: 11.11 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.007765, allocations: 192 / 226.8 MB, free: 11.11 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.00778, allocations: 12.38 kB / 226.8 MB, free: 11.1 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.00779, allocations: 7.938 kB / 226.8 MB, free: 11.09 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.893e-05/0.007889, allocations: 59.45 kB / 226.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.008613, allocations: 478.4 kB / 227.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.008765, allocations: 90.47 kB / 227.4 MB, free: 10.45 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.008821, allocations: 44.78 kB / 227.5 MB, free: 10.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.008839, allocations: 4 kB / 227.5 MB, free: 10.4 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.008867, allocations: 34.91 kB / 227.5 MB, free: 10.36 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.008868, allocations: 4 kB / 227.5 MB, free: 10.36 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.001085/0.009953, allocations: 0.5677 MB / 228.1 MB, free: 9.73 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.009983, allocations: 51.41 kB / 228.1 MB, free: 9.668 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.0101, allocations: 162.5 kB / 228.3 MB, free: 9.496 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.01011, allocations: 33.7 kB / 228.3 MB, free: 9.457 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.01019, allocations: 140.4 kB / 228.5 MB, free: 9.316 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.01025, allocations: 91.2 kB / 228.5 MB, free: 9.227 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.01032, allocations: 49.67 kB / 228.6 MB, free: 9.172 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.01042, allocations: 334.7 kB / 228.9 MB, free: 8.836 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.01046, allocations: 23.98 kB / 228.9 MB, free: 8.812 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.01053, allocations: 64.25 kB / 229 MB, free: 8.734 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.01066, allocations: 115.9 kB / 229.1 MB, free: 8.605 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.01066, allocations: 3.938 kB / 229.1 MB, free: 8.602 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002182/0.01087, allocations: 150.3 kB / 229.3 MB, free: 8.445 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.01089, allocations: 8 kB / 229.3 MB, free: 8.438 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.0109, allocations: 0 / 229.3 MB, free: 8.438 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.01102, allocations: 32.78 kB / 229.3 MB, free: 8.402 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.01124, allocations: 60.03 kB / 229.4 MB, free: 8.344 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008577/0.01209, allocations: 1.225 MB / 230.6 MB, free: 7.031 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.01217, allocations: 8 kB / 230.6 MB, free: 7.023 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.01218, allocations: 4 kB / 230.6 MB, free: 7.02 MB / 234.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.351e-05/0.01227, allocations: 121.8 kB / 230.7 MB, free: 6.891 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.0123, allocations: 27.95 kB / 230.8 MB, free: 6.863 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.01234, allocations: 25.95 kB / 230.8 MB, free: 6.84 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01234, allocations: 4 kB / 230.8 MB, free: 6.836 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01235, allocations: 144 / 230.8 MB, free: 6.836 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01235, allocations: 3.984 kB / 230.8 MB, free: 6.832 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.01288, allocations: 424.2 kB / 231.2 MB, free: 6.379 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.01288, allocations: 7.984 kB / 231.2 MB, free: 6.371 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.01307, allocations: 51.98 kB / 231.3 MB, free: 6.32 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.01309, allocations: 15.89 kB / 231.3 MB, free: 6.305 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.849e-05/0.01318, allocations: 28.84 kB / 231.3 MB, free: 6.273 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.01319, allocations: 4 kB / 231.3 MB, free: 6.27 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007377/0.01393, allocations: 1.229 MB / 232.5 MB, free: 4.953 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01393, allocations: 4.031 kB / 232.5 MB, free: 4.949 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.01423, allocations: 286.4 kB / 232.8 MB, free: 4.645 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.01425, allocations: 8 kB / 232.8 MB, free: 4.637 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.01433, allocations: 4 kB / 232.8 MB, free: 4.633 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.01438, allocations: 15.97 kB / 232.8 MB, free: 4.617 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.01439, allocations: 4.188 kB / 232.9 MB, free: 4.613 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.637e-05/0.01443, allocations: 53.8 kB / 232.9 MB, free: 4.559 MB / 234.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01443, allocations: 0 / 232.9 MB, free: 4.559 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.0147, allocations: 56 kB / 233 MB, free: 4.504 MB / 234.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 0.0001065/0.01481, allocations: 100.2 kB / 233.1 MB, free: 4.398 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.01513, allocations: 234.2 kB / 233.3 MB, free: 4.156 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.01514, allocations: 4 kB / 233.3 MB, free: 4.152 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.01531, allocations: 191.7 kB / 233.5 MB, free: 3.949 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.0156, allocations: 63.86 kB / 233.5 MB, free: 3.887 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.02027, allocations: 0.5061 MB / 234 MB, free: 3.344 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.02035, allocations: 84.31 kB / 234.1 MB, free: 3.242 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 9.112e-05/0.02044, allocations: 17.95 kB / 234.1 MB, free: 3.227 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.02055, allocations: 83.36 kB / 234.2 MB, free: 3.145 MB / 234.7 MB Notification: Performance of SimCode: time 1.422e-06/0.02056, allocations: 0 / 234.2 MB, free: 3.145 MB / 234.7 MB Notification: Performance of Templates: time 0.006179/0.02673, allocations: 2.766 MB / 237 MB, free: 416 kB / 234.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 -ignoreHideResult -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.4863009229302406]