Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.001514/0.001514, allocations: 117.1 kB / 20.44 MB, free: 1.316 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.001613/0.001613, allocations: 215.2 kB / 23.74 MB, free: 4.543 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 39.94 kB / 378.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2681, allocations: 53.35 MB / 431.6 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003988/0.2721, allocations: 2.399 MB / 434 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2733, allocations: 0.6582 MB / 434.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2735, allocations: 7.938 kB / 434.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.2736, allocations: 35.59 kB / 434.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.2738, allocations: 79.33 kB / 434.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.274, allocations: 67.84 kB / 434.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.2744, allocations: 278.7 kB / 435.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.2746, allocations: 79.22 kB / 435.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.2749, allocations: 111.6 kB / 435.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.2751, allocations: 111.5 kB / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.2751, allocations: 20 kB / 435.4 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-05/0.2752, allocations: 28 kB / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.2752, allocations: 51.72 kB / 435.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.2754, allocations: 119.4 kB / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.2757, allocations: 272.1 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2757, allocations: 0 / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2757, allocations: 4 kB / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2757, allocations: 0 / 435.9 MB, free: 2.652 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007805/0.2765, allocations: 469.5 kB / 436.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2765, allocations: 11.97 kB / 436.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.2767, allocations: 36.75 kB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.2771, allocations: 190.8 kB / 436.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2771, allocations: 16.81 kB / 436.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.2771, allocations: 28.33 kB / 436.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.2775, allocations: 187.6 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.2775, allocations: 8 kB / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.2776, allocations: 7.938 kB / 436.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.2776, allocations: 8 kB / 436.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.2779, allocations: 137.7 kB / 437 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.2789, allocations: 0.6027 MB / 437.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.2793, allocations: 169.6 kB / 437.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.2794, allocations: 94.44 kB / 437.8 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.2795, allocations: 0 / 437.8 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2795, allocations: 38.56 kB / 437.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.172e-06/0.2795, allocations: 0 / 437.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002027/0.2815, allocations: 0.927 MB / 438.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.2816, allocations: 59.34 kB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.2818, allocations: 183.2 kB / 439 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.2818, allocations: 29.7 kB / 439.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2819, allocations: 140.9 kB / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.282, allocations: 122.9 kB / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.2822, allocations: 53.7 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002545/0.2824, allocations: 334.8 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2826, allocations: 71.97 kB / 439.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.2828, allocations: 103.8 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.2831, allocations: 193 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2831, allocations: 4 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005503/0.2837, allocations: 291.3 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2837, allocations: 4 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2837, allocations: 7.938 kB / 440.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.2839, allocations: 44.83 kB / 440.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.2841, allocations: 51.97 kB / 440.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.2859, allocations: 1.641 MB / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2861, allocations: 8 kB / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.2861, allocations: 8 kB / 442.1 MB, free: 12.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.2863, allocations: 142 kB / 442.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.2863, allocations: 27.8 kB / 442.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.2864, allocations: 26.66 kB / 442.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2864, allocations: 4 kB / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2864, allocations: 4.062 kB / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2864, allocations: 8.109 kB / 442.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.2876, allocations: 0.754 MB / 443.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2876, allocations: 12.03 kB / 443.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.2879, allocations: 55.91 kB / 443.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.2881, allocations: 40.81 kB / 443.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.2881, allocations: 8 kB / 443.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.2895, allocations: 1.381 MB / 444.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2895, allocations: 4.031 kB / 444.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.2903, allocations: 486.6 kB / 445.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.2904, allocations: 27.89 kB / 445.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.2904, allocations: 4 kB / 445.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.2905, allocations: 8 kB / 445.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.2906, allocations: 23.95 kB / 445.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2906, allocations: 12 kB / 445.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.2907, allocations: 136.4 kB / 445.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2907, allocations: 0 / 445.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.2911, allocations: 64 kB / 445.3 MB, free: 8.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001279/0.2913, allocations: 111.2 kB / 445.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000686/0.292, allocations: 334.6 kB / 445.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.292, allocations: 0 / 445.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.2923, allocations: 234.5 kB / 446 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.2928, allocations: 46.34 kB / 446 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2942, allocations: 0.7416 MB / 446.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.2949, allocations: 0.7564 MB / 447.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.295, allocations: 26.28 kB / 447.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.295, allocations: 23.44 kB / 447.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.295, allocations: 0 / 447.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of Templates: time 0.008084/0.3031, allocations: 2.897 MB / 450.5 MB, free: 3.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.585846114903688]