Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 108.6 kB / 21.18 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 189.1 kB / 24.47 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.92 kB / 371.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2744, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004024/0.2784, allocations: 2.39 MB / 426.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2795, allocations: 0.5882 MB / 426.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2796, allocations: 7.938 kB / 426.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.2797, allocations: 31.66 kB / 426.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.2799, allocations: 75.28 kB / 427 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.2801, allocations: 59.86 kB / 427 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.2805, allocations: 258.8 kB / 427.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.2806, allocations: 60.55 kB / 427.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.2808, allocations: 103.6 kB / 427.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.281, allocations: 111.5 kB / 427.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.281, allocations: 16 kB / 427.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.879e-05/0.2811, allocations: 20 kB / 427.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.2811, allocations: 47.84 kB / 427.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2812, allocations: 111.5 kB / 427.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.2816, allocations: 248.2 kB / 428 MB, free: 10.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2816, allocations: 0 / 428 MB, free: 10.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.2816, allocations: 4 kB / 428 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.2816, allocations: 0 / 428 MB, free: 10.57 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.0007503/0.2823, allocations: 453.5 kB / 428.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2824, allocations: 8.031 kB / 428.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.2824, allocations: 28.75 kB / 428.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.2828, allocations: 179.6 kB / 428.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.2828, allocations: 12.81 kB / 428.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.2828, allocations: 20.38 kB / 428.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.2832, allocations: 222.1 kB / 428.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2832, allocations: 3.953 kB / 428.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.2833, allocations: 11.94 kB / 428.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2833, allocations: 8 kB / 428.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.2835, allocations: 129.7 kB / 429 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.2846, allocations: 0.6695 MB / 429.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.2849, allocations: 134.5 kB / 429.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.2851, allocations: 64.83 kB / 429.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2851, allocations: 4 kB / 429.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2851, allocations: 34.56 kB / 429.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.2851, allocations: 0 / 429.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.00163/0.2868, allocations: 0.7474 MB / 430.7 MB, free: 7.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2868, allocations: 59.34 kB / 430.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.287, allocations: 175.3 kB / 430.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.287, allocations: 29.7 kB / 430.9 MB, free: 7.395 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.2871, allocations: 144.4 kB / 431.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.2872, allocations: 91.2 kB / 431.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.2873, allocations: 49.7 kB / 431.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2874, allocations: 326.8 kB / 431.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.2876, allocations: 55.97 kB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.2877, allocations: 113.3 kB / 431.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.288, allocations: 156.2 kB / 431.9 MB, free: 6.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.288, allocations: 0 / 431.9 MB, free: 6.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004693/0.2885, allocations: 254.1 kB / 432.1 MB, free: 6.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.2885, allocations: 8 kB / 432.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2885, allocations: 0 / 432.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.2887, allocations: 32.83 kB / 432.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2889, allocations: 55.91 kB / 432.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.2903, allocations: 1.386 MB / 433.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2905, allocations: 12.09 kB / 433.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.2905, allocations: 12 kB / 433.6 MB, free: 4.547 MB / 334.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.0001444/0.2906, allocations: 134 kB / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.2907, allocations: 23.86 kB / 433.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.2907, allocations: 21.95 kB / 433.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2907, allocations: 7.938 kB / 433.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2907, allocations: 0 / 433.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2907, allocations: 7.938 kB / 433.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/0.2917, allocations: 0.612 MB / 434.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2917, allocations: 0 / 434.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.2919, allocations: 47.92 kB / 434.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.2921, allocations: 36.89 kB / 434.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2921, allocations: 8 kB / 434.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.2934, allocations: 1.381 MB / 435.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2934, allocations: 0 / 435.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.294, allocations: 401.4 kB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.294, allocations: 27.97 kB / 436.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.2941, allocations: 4 kB / 436.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2942, allocations: 7.938 kB / 436.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.2942, allocations: 31.84 kB / 436.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2943, allocations: 4 kB / 436.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.2944, allocations: 131.2 kB / 436.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2944, allocations: 0 / 436.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.2947, allocations: 60 kB / 436.5 MB, free: 1.402 MB / 334.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.0001166/0.2948, allocations: 99.25 kB / 436.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005883/0.2954, allocations: 282.4 kB / 436.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2954, allocations: 0 / 436.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.2957, allocations: 210.8 kB / 437.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.2962, allocations: 47.17 kB / 437.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2975, allocations: 0.7104 MB / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.2979, allocations: 0.7482 MB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.298, allocations: 19.44 kB / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.298, allocations: 0 / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Templates: time 0.00624/0.3042, allocations: 3.492 MB / 442.1 MB, free: 11.71 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.766079630935565]