Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001349/0.001349, allocations: 83.02 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001404/0.001404, allocations: 163.5 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 177.2 MB / 204.3 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.155e-06/2.155e-06, allocations: 1.188 kB / 325 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.34e-05, allocations: 5.656 kB / 325 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003271/0.003294, allocations: 2.263 MB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.004474, allocations: 0.6344 MB / 327.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004599, allocations: 8.031 kB / 328 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.004738, allocations: 36.72 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.004899, allocations: 74.73 kB / 328.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.005149, allocations: 67.94 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.005458, allocations: 269.8 kB / 328.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.005611, allocations: 60.67 kB / 328.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.005869, allocations: 158.3 kB / 328.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.006018, allocations: 78.98 kB / 328.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.006054, allocations: 19.78 kB / 328.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.006119, allocations: 21.31 kB / 328.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.00617, allocations: 48.89 kB / 328.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.921e-05/0.006269, allocations: 82.83 kB / 328.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.006616, allocations: 252.2 kB / 329.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.006619, allocations: 0 / 329.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00662, allocations: 0 / 329.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.006626, allocations: 1.781 kB / 329.1 MB, free: 14.05 MB / 302.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.0006968/0.007322, allocations: 456 kB / 329.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.007357, allocations: 9.625 kB / 329.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.007521, allocations: 32.98 kB / 329.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.007804, allocations: 185.8 kB / 329.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.007824, allocations: 17.41 kB / 329.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.007866, allocations: 22.77 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.008243, allocations: 212.4 kB / 330 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.008261, allocations: 2.75 kB / 330 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.008282, allocations: 6.531 kB / 330 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.008291, allocations: 8.281 kB / 330 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.008562, allocations: 129.8 kB / 330.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.009659, allocations: 0.5885 MB / 330.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.009935, allocations: 140.9 kB / 330.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.01007, allocations: 68.47 kB / 331 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.01009, allocations: 2.531 kB / 331 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.01012, allocations: 34.02 kB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.01012, allocations: 0 / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001605/0.01172, allocations: 0.7453 MB / 331.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.01177, allocations: 53.59 kB / 331.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.01195, allocations: 166.8 kB / 331.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.01197, allocations: 27.23 kB / 332 MB, free: 12.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.01208, allocations: 146.8 kB / 332.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/0.01215, allocations: 93.48 kB / 332.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.01223, allocations: 49.88 kB / 332.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.01238, allocations: 336.2 kB / 332.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.0125, allocations: 54.55 kB / 332.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.01266, allocations: 104.7 kB / 332.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.01295, allocations: 171.9 kB / 332.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.01295, allocations: 1.125 kB / 332.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004659/0.01342, allocations: 254.8 kB / 333.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01343, allocations: 9.312 kB / 333.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01344, allocations: 1.094 kB / 333.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.01359, allocations: 37.72 kB / 333.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.0138, allocations: 51.22 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.01518, allocations: 1.353 MB / 334.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.01529, allocations: 9.219 kB / 334.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.01531, allocations: 6.344 kB / 334.6 MB, free: 9.688 MB / 302.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.0001385/0.01544, allocations: 148.1 kB / 334.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.01549, allocations: 19.92 kB / 334.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.01554, allocations: 25.3 kB / 334.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01555, allocations: 3.125 kB / 334.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.01555, allocations: 1.156 kB / 334.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01555, allocations: 0 / 334.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008729/0.01643, allocations: 0.559 MB / 335.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01643, allocations: 5.469 kB / 335.4 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.01664, allocations: 42.62 kB / 335.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/0.01676, allocations: 37.59 kB / 335.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01678, allocations: 2.469 kB / 335.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.01815, allocations: 1.356 MB / 336.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01815, allocations: 1.594 kB / 336.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.01874, allocations: 406.6 kB / 337.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.01877, allocations: 21.36 kB / 337.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.0188, allocations: 10.12 kB / 337.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.01893, allocations: 7.094 kB / 337.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.01899, allocations: 23.12 kB / 337.3 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.019, allocations: 5.156 kB / 337.3 MB, free: 7.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.0191, allocations: 125.4 kB / 337.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.0191, allocations: 0 / 337.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.01943, allocations: 61.53 kB / 337.5 MB, free: 7.25 MB / 302.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.0001928/0.01962, allocations: 98.81 kB / 337.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005508/0.02017, allocations: 272.3 kB / 337.8 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02017, allocations: 0 / 337.8 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.02054, allocations: 220.1 kB / 338 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.02096, allocations: 47.8 kB / 338.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.02214, allocations: 0.5671 MB / 338.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.0223, allocations: 152 kB / 338.8 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.334e-05/0.02238, allocations: 24.31 kB / 338.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.02244, allocations: 22.95 kB / 338.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02244, allocations: 0 / 338.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of Templates: time 0.006743/0.02918, allocations: 2.453 MB / 341.3 MB, free: 4.336 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.2136403769254684]