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.0007851/0.0007851, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003226/0.003226, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 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 0.8308/0.8308, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.183e-06/1.183e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.892e-05, allocations: 6.219 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002144/0.002163, allocations: 2.262 MB / 328.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007374/0.0029, allocations: 0.627 MB / 328.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.525e-05/0.002996, allocations: 7.938 kB / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.003113, allocations: 39.58 kB / 328.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.003227, allocations: 83.27 kB / 328.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.003423, allocations: 59.86 kB / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.003632, allocations: 294.5 kB / 329.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.003781, allocations: 63.3 kB / 329.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.003979, allocations: 179.5 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.851e-05/0.004077, allocations: 83.7 kB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.004103, allocations: 20 kB / 329.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.831e-05/0.004152, allocations: 24 kB / 329.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.004179, allocations: 51.77 kB / 329.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.004239, allocations: 83.81 kB / 329.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.004482, allocations: 267.1 kB / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004484, allocations: 0 / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004485, allocations: 0 / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.004489, allocations: 0 / 329.9 MB, free: 11.29 MB / 298.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.0005089/0.004998, allocations: 468.5 kB / 330.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.00503, allocations: 12.03 kB / 330.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.005138, allocations: 36.73 kB / 330.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.005353, allocations: 186.1 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.005373, allocations: 16.88 kB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.005403, allocations: 20.38 kB / 330.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.005641, allocations: 192.7 kB / 330.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.005656, allocations: 12.14 kB / 330.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.005671, allocations: 8.375 kB / 330.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.005678, allocations: 11.88 kB / 330.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.005848, allocations: 141.9 kB / 331 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.006411, allocations: 0.4944 MB / 331.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.006622, allocations: 171.3 kB / 331.7 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.006722, allocations: 97.78 kB / 331.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.006738, allocations: 0 / 331.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.006762, allocations: 42.55 kB / 331.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.006763, allocations: 3.938 kB / 331.8 MB, free: 9.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001171/0.007935, allocations: 0.9032 MB / 332.7 MB, free: 8.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.007967, allocations: 67.33 kB / 332.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.008071, allocations: 166.9 kB / 333 MB, free: 8.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.008085, allocations: 29.7 kB / 333 MB, free: 8.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.008146, allocations: 140.8 kB / 333.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.008202, allocations: 122.9 kB / 333.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.008255, allocations: 57.45 kB / 333.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.00834, allocations: 330.8 kB / 333.6 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.008427, allocations: 71.97 kB / 333.7 MB, free: 7.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.008527, allocations: 102.8 kB / 333.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.008724, allocations: 196.7 kB / 334 MB, free: 7.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.008725, allocations: 0 / 334 MB, free: 7.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002919/0.009017, allocations: 283.3 kB / 334.3 MB, free: 6.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.00903, allocations: 11.94 kB / 334.3 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.009034, allocations: 0 / 334.3 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.009158, allocations: 44.83 kB / 334.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.009301, allocations: 63.97 kB / 334.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009178/0.01022, allocations: 1.594 MB / 336 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.01028, allocations: 12.02 kB / 336 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.01029, allocations: 12 kB / 336 MB, free: 4.895 MB / 298.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 8.52e-05/0.01038, allocations: 138.4 kB / 336.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.0104, allocations: 23.86 kB / 336.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.01043, allocations: 30.66 kB / 336.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01043, allocations: 7.984 kB / 336.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01044, allocations: 3.938 kB / 336.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01044, allocations: 3.984 kB / 336.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.01105, allocations: 0.6759 MB / 336.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01105, allocations: 4.281 kB / 336.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.01119, allocations: 63.97 kB / 336.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.929e-05/0.01126, allocations: 32.78 kB / 337 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01128, allocations: 11.98 kB / 337 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00064/0.01192, allocations: 1.351 MB / 338.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01192, allocations: 7.938 kB / 338.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.01232, allocations: 487.3 kB / 338.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.01234, allocations: 15.86 kB / 338.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.01235, allocations: 8 kB / 338.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.01242, allocations: 12.03 kB / 338.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.01246, allocations: 23.91 kB / 338.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.01247, allocations: 19.92 kB / 338.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.72e-05/0.01253, allocations: 124.5 kB / 339 MB, free: 1.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01253, allocations: 0 / 339 MB, free: 1.672 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.01274, allocations: 68 kB / 339.1 MB, free: 1.605 MB / 298.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 8.307e-05/0.01283, allocations: 103.4 kB / 339.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.01321, allocations: 334.7 kB / 339.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01321, allocations: 3.938 kB / 339.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.01339, allocations: 238.8 kB / 339.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.01365, allocations: 43.88 kB / 339.8 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.01437, allocations: 0.6474 MB / 340.4 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.942e-05/0.01446, allocations: 150.7 kB / 340.6 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.01453, allocations: 28.5 kB / 340.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01453, allocations: 0 / 340.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of Templates: time 0.003664/0.01819, allocations: 3.956 MB / 344.6 MB, free: 12.01 MB / 314.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.809224273078144]