Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001545/0.001545, allocations: 116.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.475/1.475, allocations: 230.5 MB / 255.4 MB, free: 15 MB / 206.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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 72 kB / 374.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.109, allocations: 53.32 MB / 428.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004112/0.1131, allocations: 2.388 MB / 430.5 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1145, allocations: 0.6465 MB / 431.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.1147, allocations: 7.938 kB / 431.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.1149, allocations: 43.59 kB / 431.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1151, allocations: 75.33 kB / 431.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1154, allocations: 63.86 kB / 431.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.1158, allocations: 278.7 kB / 431.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.116, allocations: 74.77 kB / 431.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.1163, allocations: 115.6 kB / 431.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1165, allocations: 115.5 kB / 431.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.1165, allocations: 24 kB / 431.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.1166, allocations: 24 kB / 431.9 MB, free: 468 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.1166, allocations: 47.78 kB / 432 MB, free: 420 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1168, allocations: 127.3 kB / 432.1 MB, free: 292 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.1171, allocations: 274.8 kB / 432.4 MB, free: 16 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1171, allocations: 0 / 432.4 MB, free: 16 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1171, allocations: 0 / 432.4 MB, free: 16 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1172, allocations: 0 / 432.4 MB, free: 16 kB / 350.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.2158/0.3329, allocations: 0.5235 MB / 432.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.333, allocations: 10.53 kB / 432.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.3331, allocations: 41.58 kB / 433 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.3335, allocations: 248.4 kB / 433.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3335, allocations: 16.69 kB / 433.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.3336, allocations: 27.5 kB / 433.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.3339, allocations: 195.3 kB / 433.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.334, allocations: 0.7812 kB / 433.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.334, allocations: 14 kB / 433.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.334, allocations: 5.562 kB / 433.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.3343, allocations: 139.8 kB / 433.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/0.3351, allocations: 0.6273 MB / 434.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.3354, allocations: 167.9 kB / 434.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.3356, allocations: 88.52 kB / 434.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3356, allocations: 2.281 kB / 434.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.3356, allocations: 41.12 kB / 434.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.3356, allocations: 0 / 434.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00169/0.3373, allocations: 1.074 MB / 435.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.3373, allocations: 59.06 kB / 435.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.3375, allocations: 186.8 kB / 435.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3375, allocations: 33.36 kB / 435.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.3375, allocations: 148.1 kB / 436 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.3376, allocations: 119 kB / 436.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.3377, allocations: 51.64 kB / 436.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.3377, allocations: 336.2 kB / 436.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3379, allocations: 70.06 kB / 436.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.338, allocations: 102.2 kB / 436.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.3383, allocations: 198.2 kB / 436.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3383, allocations: 0 / 436.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004543/0.3388, allocations: 290 kB / 437.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3388, allocations: 4.344 kB / 437.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3388, allocations: 0.9375 kB / 437.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.339, allocations: 48.47 kB / 437.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.3392, allocations: 62.12 kB / 437.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.3403, allocations: 1.732 MB / 439 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.3404, allocations: 10.47 kB / 439 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3404, allocations: 11.16 kB / 439 MB, free: 7.422 MB / 350.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 9.732e-05/0.3405, allocations: 136.4 kB / 439.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.3405, allocations: 29.23 kB / 439.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.3406, allocations: 34.25 kB / 439.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3406, allocations: 4.375 kB / 439.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3406, allocations: 1.406 kB / 439.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3406, allocations: 3.516 kB / 439.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/0.3415, allocations: 0.778 MB / 440 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3415, allocations: 0.5625 kB / 440 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.3418, allocations: 66.7 kB / 440.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.3419, allocations: 32.41 kB / 440.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3419, allocations: 11.81 kB / 440.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008263/0.3428, allocations: 1.485 MB / 441.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3428, allocations: 5.812 kB / 441.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.3434, allocations: 481.5 kB / 442.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.3434, allocations: 100.3 kB / 442.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3434, allocations: 10.75 kB / 442.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3436, allocations: 11.61 kB / 442.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.3436, allocations: 22.3 kB / 442.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3437, allocations: 9.953 kB / 442.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.993e-05/0.3438, allocations: 136.6 kB / 442.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3438, allocations: 0 / 442.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.3441, allocations: 73.91 kB / 442.4 MB, free: 4.711 MB / 350.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.0001065/0.3442, allocations: 105 kB / 442.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005887/0.3448, allocations: 330.8 kB / 442.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3448, allocations: 0 / 442.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.3452, allocations: 236.6 kB / 443.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.3456, allocations: 40.5 kB / 443.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3467, allocations: 0.7658 MB / 443.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.3469, allocations: 0.7568 MB / 444.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.347, allocations: 23.34 kB / 444.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.347, allocations: 0 / 444.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of Templates: time 0.007212/0.3542, allocations: 3.925 MB / 448.6 MB, free: 2.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.392605941044167]