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.001303/0.001303, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00139/0.00139, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001731/0.001731, allocations: 55.91 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2678, allocations: 53.35 MB / 432.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003918/0.2717, allocations: 2.388 MB / 434.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.273, allocations: 0.6622 MB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.2732, allocations: 7.938 kB / 435.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.2733, allocations: 35.59 kB / 435.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.2735, allocations: 79.33 kB / 435.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.2738, allocations: 63.86 kB / 435.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.2741, allocations: 282.6 kB / 435.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.2743, allocations: 75.23 kB / 436 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.2745, allocations: 111.6 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.2747, allocations: 115.5 kB / 436.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.2747, allocations: 20 kB / 436.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.2748, allocations: 35.94 kB / 436.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.2749, allocations: 43.84 kB / 436.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.275, allocations: 119.4 kB / 436.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.2753, allocations: 276.1 kB / 436.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2753, allocations: 0 / 436.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2753, allocations: 0 / 436.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2754, allocations: 3.938 kB / 436.7 MB, free: 2.609 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.0007592/0.2761, allocations: 461.5 kB / 437.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2761, allocations: 8.031 kB / 437.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.2763, allocations: 44.73 kB / 437.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.2766, allocations: 182.8 kB / 437.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.2767, allocations: 16.81 kB / 437.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.2767, allocations: 28.33 kB / 437.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.2771, allocations: 199.5 kB / 437.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2771, allocations: 0 / 437.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.2771, allocations: 11.98 kB / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2771, allocations: 4 kB / 437.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.2774, allocations: 145.6 kB / 437.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.2784, allocations: 0.5949 MB / 438.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.2787, allocations: 165.2 kB / 438.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.2788, allocations: 100.7 kB / 438.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.2789, allocations: 4 kB / 438.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2789, allocations: 30.56 kB / 438.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.2789, allocations: 0 / 438.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001879/0.2808, allocations: 0.9356 MB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.2808, allocations: 59.34 kB / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.281, allocations: 179.2 kB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.281, allocations: 33.7 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.2811, allocations: 136.9 kB / 440 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.91e-05/0.2812, allocations: 122.9 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.2813, allocations: 57.7 kB / 440.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2814, allocations: 330.8 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2816, allocations: 71.97 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2818, allocations: 107.8 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.2821, allocations: 196.1 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2821, allocations: 4 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005016/0.2826, allocations: 287.2 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2826, allocations: 10.81 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2826, allocations: 0 / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.2828, allocations: 44.83 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.283, allocations: 63.97 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.2847, allocations: 1.633 MB / 442.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.2848, allocations: 12.02 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.2848, allocations: 12 kB / 442.9 MB, free: 12.03 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.0001626/0.285, allocations: 134 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.285, allocations: 27.8 kB / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/0.2851, allocations: 30.72 kB / 443.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2851, allocations: 4 kB / 443.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2851, allocations: 4.172 kB / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2851, allocations: 0 / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.2863, allocations: 0.7695 MB / 443.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2863, allocations: 0 / 443.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.2866, allocations: 59.91 kB / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.2867, allocations: 36.83 kB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.2867, allocations: 4 kB / 444 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.288, allocations: 1.389 MB / 445.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.288, allocations: 0 / 445.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.2887, allocations: 486.7 kB / 445.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.2887, allocations: 23.86 kB / 445.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.2888, allocations: 8 kB / 445.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2889, allocations: 8 kB / 445.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.289, allocations: 27.95 kB / 445.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.289, allocations: 4 kB / 445.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.2891, allocations: 136.4 kB / 446 MB, free: 8.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2891, allocations: 3.938 kB / 446 MB, free: 8.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.2895, allocations: 64 kB / 446.1 MB, free: 8.602 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.0001305/0.2896, allocations: 107.2 kB / 446.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.2902, allocations: 338.6 kB / 446.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2902, allocations: 0 / 446.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.2906, allocations: 230.5 kB / 446.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.291, allocations: 56.45 kB / 446.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.2924, allocations: 0.7547 MB / 447.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.2928, allocations: 0.7525 MB / 448.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.2928, allocations: 31.44 kB / 448.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2928, allocations: 0 / 448.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of Templates: time 0.006412/0.2993, allocations: 3.909 MB / 452.3 MB, free: 2.336 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/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: 7.232681417837739]