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.001852/0.001852, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00229/0.00229, allocations: 206 kB / 24.47 MB, free: 3.977 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 2.136/2.136, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.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 0.001857/0.001857, allocations: 51.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3547, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00445/0.3592, allocations: 2.258 MB / 434.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3606, allocations: 0.6154 MB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.3607, allocations: 7.938 kB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.3609, allocations: 31.66 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.3611, allocations: 83.33 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.3613, allocations: 63.86 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.3617, allocations: 254.8 kB / 435.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.3619, allocations: 72.98 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.3621, allocations: 111.6 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.3623, allocations: 107.5 kB / 435.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.3624, allocations: 20 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.873e-05/0.3625, allocations: 24 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.3625, allocations: 43.84 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3627, allocations: 95.53 kB / 436.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.363, allocations: 261.7 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.363, allocations: 0 / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.363, allocations: 0 / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.3631, allocations: 0 / 436.3 MB, free: 2.699 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.0008422/0.3639, allocations: 453.6 kB / 436.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3639, allocations: 8.031 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.3641, allocations: 36.78 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.3645, allocations: 186.7 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3645, allocations: 16.81 kB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.3646, allocations: 28.31 kB / 437.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.3651, allocations: 210.2 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.3651, allocations: 11.94 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.3651, allocations: 4 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3652, allocations: 4 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.3656, allocations: 125.7 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3669, allocations: 0.5998 MB / 438 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.3673, allocations: 134.5 kB / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.3675, allocations: 66.89 kB / 438.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3675, allocations: 4 kB / 438.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3676, allocations: 34.56 kB / 438.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 2.013e-06/0.3676, allocations: 0 / 438.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.002269/0.3698, allocations: 0.7385 MB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.3699, allocations: 55.34 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.3701, allocations: 167 kB / 439.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.3702, allocations: 37.64 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.3703, allocations: 144.3 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3704, allocations: 95.2 kB / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3705, allocations: 45.7 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3707, allocations: 326.8 kB / 439.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.3709, allocations: 63.97 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3711, allocations: 101.3 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.3715, allocations: 160.2 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3715, allocations: 4 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000697/0.3722, allocations: 258.1 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3723, allocations: 4 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3723, allocations: 0 / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.3725, allocations: 40.77 kB / 440.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.3728, allocations: 51.97 kB / 440.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.3746, allocations: 1.343 MB / 441.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.3747, allocations: 20.02 kB / 441.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.3748, allocations: 12 kB / 441.9 MB, free: 12.8 MB / 350.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.0001828/0.3749, allocations: 133.8 kB / 442 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.375, allocations: 23.86 kB / 442 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.3751, allocations: 21.95 kB / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3751, allocations: 4 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3751, allocations: 0 / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3751, allocations: 3.938 kB / 442.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.3762, allocations: 0.5648 MB / 442.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3762, allocations: 0 / 442.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.3765, allocations: 47.92 kB / 442.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.3767, allocations: 32.83 kB / 442.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.3767, allocations: 4 kB / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.3782, allocations: 1.362 MB / 444.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.3782, allocations: 3.938 kB / 444.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007942/0.379, allocations: 409.8 kB / 444.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.3791, allocations: 23.8 kB / 444.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.3791, allocations: 7.938 kB / 444.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.3793, allocations: 8.031 kB / 444.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.3793, allocations: 24.03 kB / 444.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3794, allocations: 7.938 kB / 444.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3795, allocations: 127.2 kB / 444.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3795, allocations: 0 / 444.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004749/0.38, allocations: 56 kB / 444.7 MB, free: 9.766 MB / 350.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.0001352/0.3801, allocations: 99.23 kB / 444.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007046/0.3808, allocations: 290.5 kB / 445.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3808, allocations: 4 kB / 445.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.3812, allocations: 202.6 kB / 445.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.3817, allocations: 35.92 kB / 445.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.3834, allocations: 0.6893 MB / 446 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.3836, allocations: 138.5 kB / 446.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.3837, allocations: 21.94 kB / 446.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.3838, allocations: 19.44 kB / 446.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3838, allocations: 0 / 446.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of Templates: time 0.009574/0.3934, allocations: 2.786 MB / 449 MB, free: 5.445 MB / 350.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/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: 6.736255671989056]