Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009125/0.0009125, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 141.7 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8877/0.8877, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.151e-05, allocations: 6.25 kB / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003567/0.003588, allocations: 2.409 MB / 270.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.004673, allocations: 0.5919 MB / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.004803, allocations: 7.938 kB / 271.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.004952, allocations: 39.59 kB / 271.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.005134, allocations: 79.27 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.00533, allocations: 63.83 kB / 271.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.005618, allocations: 282.5 kB / 272 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.005787, allocations: 78.73 kB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.006017, allocations: 155.7 kB / 272.2 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.006174, allocations: 87.7 kB / 272.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.006214, allocations: 23.98 kB / 272.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.221e-05/0.006246, allocations: 23.94 kB / 272.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.006292, allocations: 51.83 kB / 272.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.267e-05/0.006375, allocations: 87.77 kB / 272.5 MB, free: 2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.006606, allocations: 167.4 kB / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006609, allocations: 0 / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00661, allocations: 3.938 kB / 272.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006614, allocations: 4 kB / 272.6 MB, free: 1.828 MB / 250.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.0005444/0.007158, allocations: 440.2 kB / 273.1 MB, free: 1.371 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.007191, allocations: 8.031 kB / 273.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.007254, allocations: 36.84 kB / 273.1 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.007469, allocations: 162.2 kB / 273.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.007488, allocations: 16.88 kB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.007531, allocations: 20.38 kB / 273.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.00775, allocations: 157.3 kB / 273.5 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.007766, allocations: 4.141 kB / 273.5 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.007783, allocations: 12.38 kB / 273.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.007792, allocations: 7.938 kB / 273.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.007894, allocations: 59.41 kB / 273.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006363/0.00853, allocations: 402 kB / 273.9 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.008697, allocations: 110.5 kB / 274 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/0.008768, allocations: 48.84 kB / 274.1 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.008785, allocations: 8 kB / 274.1 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.008812, allocations: 38.55 kB / 274.1 MB, free: 236 kB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.008813, allocations: 0 / 274.1 MB, free: 236 kB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001152/0.009965, allocations: 0.7263 MB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.00999, allocations: 55.41 kB / 274.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.01008, allocations: 159.5 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.01009, allocations: 29.7 kB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.01014, allocations: 136.7 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.01019, allocations: 118.9 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.01024, allocations: 61.67 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.01031, allocations: 334.8 kB / 275.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.01034, allocations: 23.98 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.01039, allocations: 66.55 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.618e-05/0.01049, allocations: 112 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01049, allocations: 0 / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001697/0.01066, allocations: 171.3 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.01067, allocations: 16.05 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.01068, allocations: 0 / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.804e-05/0.01078, allocations: 48.69 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.01092, allocations: 63.89 kB / 276.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007423/0.01167, allocations: 1.43 MB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.01172, allocations: 11.98 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.01172, allocations: 4 kB / 277.7 MB, free: 12.48 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 7.421e-05/0.0118, allocations: 129.7 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.01183, allocations: 23.98 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.01186, allocations: 30.64 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01186, allocations: 4 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01186, allocations: 0 / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01187, allocations: 0 / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.01231, allocations: 496.8 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01231, allocations: 0 / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.01246, allocations: 63.91 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.269e-05/0.01252, allocations: 32.81 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01253, allocations: 12.09 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005737/0.0131, allocations: 1.229 MB / 279.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01311, allocations: 4 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.01334, allocations: 326.6 kB / 280 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.01335, allocations: 15.91 kB / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.01336, allocations: 12.03 kB / 280 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.074e-05/0.01343, allocations: 8 kB / 280 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.01346, allocations: 23.95 kB / 280.1 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.01347, allocations: 8 kB / 280.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.925e-05/0.0135, allocations: 44.78 kB / 280.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0135, allocations: 3.938 kB / 280.1 MB, free: 9.859 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000194/0.01369, allocations: 68 kB / 280.2 MB, free: 9.793 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 7.551e-05/0.01377, allocations: 80.42 kB / 280.3 MB, free: 9.707 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.01404, allocations: 267.7 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.01404, allocations: 4 kB / 280.5 MB, free: 9.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.01418, allocations: 211.2 kB / 280.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.01439, allocations: 62.42 kB / 280.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.01509, allocations: 0.5624 MB / 281.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.885e-05/0.01514, allocations: 88.69 kB / 281.4 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.123e-05/0.01519, allocations: 18.3 kB / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.01528, allocations: 95.34 kB / 281.5 MB, free: 8.324 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01528, allocations: 0 / 281.5 MB, free: 8.324 MB / 266.7 MB Notification: Performance of Templates: time 0.004315/0.01959, allocations: 2.929 MB / 284.5 MB, free: 5.438 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5719412420876324]