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.001325/0.001325, allocations: 81.8 kB / 20.68 MB, free: 1.039 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.001473/0.001473, allocations: 169 kB / 23.95 MB, free: 4.172 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.446/1.446, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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 1.503e-06/1.503e-06, allocations: 0 / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.394e-05, allocations: 3.344 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003334/0.003358, allocations: 2.266 MB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.004533, allocations: 0.6313 MB / 327.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.004666, allocations: 7.812 kB / 328 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.004823, allocations: 35.98 kB / 328 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.005017, allocations: 80.36 kB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.005294, allocations: 67.89 kB / 328.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.005653, allocations: 284.3 kB / 328.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.005856, allocations: 67.02 kB / 328.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.006184, allocations: 177.2 kB / 328.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.006344, allocations: 78.81 kB / 328.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.006385, allocations: 24.62 kB / 328.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.71e-05/0.006462, allocations: 24.2 kB / 328.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.00652, allocations: 53.81 kB / 328.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.00664, allocations: 84.91 kB / 328.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.007041, allocations: 270.5 kB / 329.2 MB, free: 14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.007045, allocations: 0 / 329.2 MB, free: 14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007046, allocations: 0 / 329.2 MB, free: 14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.007052, allocations: 0 / 329.2 MB, free: 14 MB / 302.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.0008078/0.00786, allocations: 463.1 kB / 329.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.007895, allocations: 9.578 kB / 329.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.008076, allocations: 38.95 kB / 329.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.008386, allocations: 186.9 kB / 329.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.008408, allocations: 17.44 kB / 329.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.008464, allocations: 23.83 kB / 329.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.008843, allocations: 193.3 kB / 330.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.008865, allocations: 6.078 kB / 330.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.008889, allocations: 11.06 kB / 330.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.0089, allocations: 8.812 kB / 330.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.00919, allocations: 140.9 kB / 330.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009676/0.01016, allocations: 0.4943 MB / 330.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.01046, allocations: 165 kB / 330.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.01063, allocations: 95.75 kB / 331 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.01065, allocations: 2.25 kB / 331 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.01068, allocations: 37.72 kB / 331 MB, free: 12.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.402e-06/0.01068, allocations: 0 / 331 MB, free: 12.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001947/0.01263, allocations: 0.9234 MB / 332 MB, free: 12.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.01268, allocations: 58.67 kB / 332 MB, free: 12.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.01287, allocations: 171.3 kB / 332.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.0129, allocations: 30.8 kB / 332.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.01302, allocations: 138.7 kB / 332.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/0.01312, allocations: 116.4 kB / 332.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.01321, allocations: 53.45 kB / 332.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.01339, allocations: 335 kB / 332.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.01355, allocations: 78.53 kB / 332.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.01373, allocations: 109.8 kB / 333 MB, free: 11.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.01406, allocations: 193.3 kB / 333.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.01406, allocations: 0 / 333.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005224/0.01458, allocations: 285.1 kB / 333.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.0146, allocations: 9.594 kB / 333.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01461, allocations: 1.562 kB / 333.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.01479, allocations: 46.61 kB / 333.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.01504, allocations: 59.81 kB / 333.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.01674, allocations: 1.603 MB / 335.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.01687, allocations: 7.562 kB / 335.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.01689, allocations: 15.75 kB / 335.2 MB, free: 9.348 MB / 302.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.0001684/0.01706, allocations: 143.8 kB / 335.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.01712, allocations: 21.92 kB / 335.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.01719, allocations: 33.95 kB / 335.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01719, allocations: 3.312 kB / 335.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.0172, allocations: 5.094 kB / 335.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01721, allocations: 0 / 335.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.0183, allocations: 0.6794 MB / 336.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.0183, allocations: 1.281 kB / 336.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.01856, allocations: 61.38 kB / 336.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.01868, allocations: 34.3 kB / 336.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.0187, allocations: 6.375 kB / 336.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.01991, allocations: 1.354 MB / 337.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01991, allocations: 5.312 kB / 337.6 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.02063, allocations: 482.3 kB / 338.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.02067, allocations: 17.92 kB / 338.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.0207, allocations: 10.91 kB / 338.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.02084, allocations: 8.875 kB / 338.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.0209, allocations: 31.7 kB / 338.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.02092, allocations: 11.47 kB / 338.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.02103, allocations: 123.3 kB / 338.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02103, allocations: 5.562 kB / 338.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003924/0.02142, allocations: 63.22 kB / 338.3 MB, free: 6.773 MB / 302.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.0001271/0.02154, allocations: 99.16 kB / 338.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006098/0.02215, allocations: 337.4 kB / 338.7 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.02216, allocations: 0 / 338.7 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.02251, allocations: 239.1 kB / 339 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.02294, allocations: 53.44 kB / 339 MB, free: 6.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.02411, allocations: 0.6243 MB / 339.7 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.02425, allocations: 149.8 kB / 339.8 MB, free: 5.676 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.112e-05/0.02433, allocations: 26.58 kB / 339.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.02439, allocations: 21.84 kB / 339.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.02439, allocations: 0 / 339.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of Templates: time 0.006734/0.03112, allocations: 2.657 MB / 342.5 MB, free: 3.129 MB / 302.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.2621769197285175]