Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001803/0.001803, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002412/0.002412, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 62.88 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4185, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003925/0.4224, allocations: 2.362 MB / 400 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.4235, allocations: 0.6381 MB / 400.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.4236, allocations: 9.688 kB / 400.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.4238, allocations: 36.95 kB / 400.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.424, allocations: 78.5 kB / 400.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.4242, allocations: 63.62 kB / 400.8 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.4246, allocations: 268 kB / 401 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.4248, allocations: 82 kB / 401.1 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.425, allocations: 105.8 kB / 401.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.4252, allocations: 123.3 kB / 401.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.4252, allocations: 19.72 kB / 401.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-05/0.4252, allocations: 21.66 kB / 401.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.4253, allocations: 45.12 kB / 401.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.4254, allocations: 120.9 kB / 401.6 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.4258, allocations: 264.2 kB / 401.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4258, allocations: 4.516 kB / 401.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4258, allocations: 1.219 kB / 401.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.4258, allocations: 0 / 401.8 MB, free: 6.781 MB / 318.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.0007729/0.4266, allocations: 463.9 kB / 402.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4267, allocations: 12.2 kB / 402.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.4267, allocations: 30.47 kB / 402.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.4271, allocations: 186.8 kB / 402.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.4271, allocations: 17.56 kB / 402.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.4271, allocations: 26.67 kB / 402.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.4275, allocations: 197.3 kB / 402.7 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.4276, allocations: 4.938 kB / 402.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.4276, allocations: 9.906 kB / 402.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.4276, allocations: 5.906 kB / 402.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.4279, allocations: 137.2 kB / 402.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.429, allocations: 0.5834 MB / 403.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.4293, allocations: 178.8 kB / 403.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.4295, allocations: 89.81 kB / 403.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4295, allocations: 9.297 kB / 403.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4295, allocations: 33.69 kB / 403.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.034e-06/0.4295, allocations: 3.984 kB / 403.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001858/0.4314, allocations: 0.9191 MB / 404.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.4314, allocations: 58.53 kB / 404.8 MB, free: 4.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.4316, allocations: 177.5 kB / 404.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.4316, allocations: 30.86 kB / 405 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.4317, allocations: 141.2 kB / 405.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/0.4318, allocations: 122.3 kB / 405.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.4318, allocations: 55.47 kB / 405.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.4319, allocations: 334.2 kB / 405.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4321, allocations: 69.88 kB / 405.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.4322, allocations: 108.2 kB / 405.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.4326, allocations: 203.4 kB / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.4326, allocations: 0 / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005375/0.4331, allocations: 288.6 kB / 406.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4331, allocations: 5.562 kB / 406.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4331, allocations: 1.578 kB / 406.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.4333, allocations: 41.41 kB / 406.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.4336, allocations: 56.44 kB / 406.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.4349, allocations: 1.644 MB / 408 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.435, allocations: 8.703 kB / 408 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.435, allocations: 10.75 kB / 408 MB, free: 2.23 MB / 318.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.0001248/0.4352, allocations: 137.8 kB / 408.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.4352, allocations: 26.8 kB / 408.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.063e-05/0.4353, allocations: 31.75 kB / 408.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4353, allocations: 8.188 kB / 408.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.808e-05/0.4353, allocations: 1.375 kB / 408.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4353, allocations: 1.688 kB / 408.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4364, allocations: 0.7402 MB / 409 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4364, allocations: 5.469 kB / 409 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.4367, allocations: 66.16 kB / 409 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.4368, allocations: 31.64 kB / 409.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.4368, allocations: 7.453 kB / 409.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000924/0.4377, allocations: 1.387 MB / 410.5 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4377, allocations: 5.25 kB / 410.5 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.4385, allocations: 488.6 kB / 410.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.4385, allocations: 24.44 kB / 411 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.4386, allocations: 11.06 kB / 411 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.4387, allocations: 9.094 kB / 411 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.4388, allocations: 27.17 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.4388, allocations: 7.438 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.439, allocations: 134.7 kB / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.439, allocations: 1.406 kB / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004082/0.4394, allocations: 63.91 kB / 411.2 MB, free: 15.72 MB / 334.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.0001687/0.4395, allocations: 114.9 kB / 411.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.4402, allocations: 330.8 kB / 411.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4402, allocations: 0 / 411.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.4406, allocations: 232.9 kB / 411.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.4411, allocations: 48.28 kB / 411.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4426, allocations: 0.7555 MB / 412.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.4431, allocations: 0.7588 MB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.4432, allocations: 26.42 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4432, allocations: 4 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of Templates: time 0.007521/0.4507, allocations: 3.886 MB / 417.3 MB, free: 12.36 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.174466606928036]