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.001509/0.001509, allocations: 84.34 kB / 20.95 MB, free: 3.457 MB / 18.57 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.001586/0.001586, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.463/1.463, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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 1.913e-06/1.913e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.652e-05, allocations: 2.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004023/0.004049, allocations: 2.26 MB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.005549, allocations: 0.6193 MB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.005719, allocations: 7.938 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.005934, allocations: 39.53 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.006167, allocations: 87.27 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.006542, allocations: 67.83 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.006966, allocations: 282.5 kB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.007222, allocations: 79.28 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.007578, allocations: 163.6 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.007738, allocations: 79.77 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.007781, allocations: 20 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.007876, allocations: 27.94 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.007935, allocations: 51.77 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.00805, allocations: 83.83 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.008465, allocations: 275 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.008469, allocations: 0 / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.008471, allocations: 0 / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.008478, allocations: 4 kB / 276.4 MB, free: 13.7 MB / 266.7 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.0008994/0.009377, allocations: 461.6 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.009426, allocations: 8.031 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.009661, allocations: 56.73 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.01005, allocations: 190 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.01008, allocations: 12.88 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.01013, allocations: 28.38 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.01063, allocations: 192.7 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.01066, allocations: 4.141 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.01068, allocations: 12.38 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01069, allocations: 7.938 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.01101, allocations: 137.9 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.01204, allocations: 0.4982 MB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.01239, allocations: 166.5 kB / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.01257, allocations: 88.81 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.0126, allocations: 8 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.01264, allocations: 42.53 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.132e-06/0.01264, allocations: 0 / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002216/0.01485, allocations: 0.9282 MB / 279.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.01491, allocations: 55.41 kB / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.0151, allocations: 170.2 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.01514, allocations: 33.7 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.01526, allocations: 140.8 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.01538, allocations: 115 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.472e-05/0.01547, allocations: 49.7 kB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.01567, allocations: 338.8 kB / 280.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.01583, allocations: 67.97 kB / 280.2 MB, free: 9.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.01603, allocations: 114.6 kB / 280.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/0.01642, allocations: 196.1 kB / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01642, allocations: 0 / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005883/0.01701, allocations: 291.3 kB / 280.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.01704, allocations: 14.91 kB / 280.8 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.01704, allocations: 4 kB / 280.8 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.0173, allocations: 48.83 kB / 280.8 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.01756, allocations: 55.97 kB / 280.9 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.01944, allocations: 1.614 MB / 282.5 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.01957, allocations: 12.25 kB / 282.5 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.01959, allocations: 8 kB / 282.5 MB, free: 7.258 MB / 266.7 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.0004366/0.02002, allocations: 141.8 kB / 282.7 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.02009, allocations: 31.86 kB / 282.7 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.695e-05/0.02017, allocations: 30.64 kB / 282.7 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.02017, allocations: 4 kB / 282.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.02018, allocations: 3.938 kB / 282.7 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.02019, allocations: 0 / 282.7 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.02143, allocations: 0.676 MB / 283.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.02143, allocations: 0 / 283.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.02171, allocations: 55.91 kB / 283.5 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/0.02186, allocations: 40.83 kB / 283.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.02188, allocations: 4 kB / 283.5 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.02334, allocations: 1.374 MB / 284.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02334, allocations: 0 / 284.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.02418, allocations: 496 kB / 285.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.02422, allocations: 23.89 kB / 285.4 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.02425, allocations: 8 kB / 285.4 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.02439, allocations: 12.06 kB / 285.4 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.02447, allocations: 27.89 kB / 285.4 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.02449, allocations: 12 kB / 285.5 MB, free: 4.137 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.0246, allocations: 116.5 kB / 285.6 MB, free: 4.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0246, allocations: 0 / 285.6 MB, free: 4.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.02501, allocations: 68 kB / 285.6 MB, free: 3.957 MB / 266.7 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.0001675/0.02518, allocations: 103.2 kB / 285.7 MB, free: 3.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000686/0.02586, allocations: 342.5 kB / 286.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02587, allocations: 4 kB / 286.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.02627, allocations: 231.2 kB / 286.3 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.02672, allocations: 43.97 kB / 286.3 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.02803, allocations: 0.6333 MB / 287 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.0282, allocations: 150.8 kB / 287.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.491e-05/0.02829, allocations: 18.3 kB / 287.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.02835, allocations: 24.5 kB / 287.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02835, allocations: 0 / 287.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of Templates: time 0.007347/0.0357, allocations: 2.688 MB / 289.9 MB, free: 15.67 MB / 282.7 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.255445185001008]