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.001144/0.001144, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001651/0.002796, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001031/0.001031, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002363, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9091/0.9091, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07977/0.9888, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.804e-06/1.804e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.338e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003725/0.003748, allocations: 2.425 MB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.004876, allocations: 0.6619 MB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.005023, allocations: 11.94 kB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.005126, allocations: 31.64 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.005311, allocations: 95.14 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.005491, allocations: 63.84 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.005818, allocations: 282.5 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.006052, allocations: 73.91 kB / 248.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.006409, allocations: 190.3 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.006528, allocations: 91.7 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.006553, allocations: 20 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.006624, allocations: 27.94 kB / 248.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.006648, allocations: 31.88 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.006703, allocations: 75.81 kB / 248.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.00692, allocations: 167.4 kB / 248.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.758e-05/0.006938, allocations: 0 / 248.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.006939, allocations: 3.938 kB / 248.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.00695, allocations: 4 kB / 248.8 MB, free: 10.05 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.00045/0.0074, allocations: 491.8 kB / 249.2 MB, free: 9.547 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.422e-05/0.007424, allocations: 8.031 kB / 249.2 MB, free: 9.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.007551, allocations: 122 kB / 249.4 MB, free: 9.402 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.007706, allocations: 174 kB / 249.5 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.007719, allocations: 16.88 kB / 249.6 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.007745, allocations: 24.38 kB / 249.6 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.007887, allocations: 149.3 kB / 249.7 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.007902, allocations: 4.188 kB / 249.7 MB, free: 9.008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.007914, allocations: 8.375 kB / 249.7 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.007921, allocations: 11.94 kB / 249.7 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.007987, allocations: 55.45 kB / 249.8 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.008403, allocations: 397.9 kB / 250.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.008519, allocations: 110.5 kB / 250.3 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.008565, allocations: 56.33 kB / 250.4 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.008577, allocations: 4 kB / 250.4 MB, free: 8.352 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.008596, allocations: 46.55 kB / 250.4 MB, free: 8.297 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.072e-06/0.008598, allocations: 0 / 250.4 MB, free: 8.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008524/0.00945, allocations: 0.7141 MB / 251.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.009473, allocations: 55.41 kB / 251.2 MB, free: 7.465 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.009551, allocations: 170.5 kB / 251.3 MB, free: 7.285 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.009564, allocations: 33.7 kB / 251.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.00961, allocations: 128.8 kB / 251.5 MB, free: 7.117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.009663, allocations: 122.9 kB / 251.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.009711, allocations: 57.66 kB / 251.7 MB, free: 6.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.009784, allocations: 330.8 kB / 252 MB, free: 6.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.009813, allocations: 23.98 kB / 252 MB, free: 6.578 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.512e-05/0.009868, allocations: 66.55 kB / 252.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.497e-05/0.009963, allocations: 121.4 kB / 252.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.009964, allocations: 0 / 252.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001627/0.01013, allocations: 171.5 kB / 252.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.01014, allocations: 6.969 kB / 252.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01014, allocations: 3.938 kB / 252.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.929e-05/0.01023, allocations: 44.83 kB / 252.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01039, allocations: 67.89 kB / 252.5 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000647/0.01104, allocations: 1.438 MB / 253.9 MB, free: 4.559 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.01109, allocations: 15.97 kB / 253.9 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.0111, allocations: 8 kB / 254 MB, free: 4.535 MB / 250.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 6.08e-05/0.01116, allocations: 121.8 kB / 254.1 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.01119, allocations: 23.98 kB / 254.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.01121, allocations: 26.64 kB / 254.1 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.01121, allocations: 4 kB / 254.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01122, allocations: 7.938 kB / 254.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01122, allocations: 0 / 254.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.01163, allocations: 496.7 kB / 254.6 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.01164, allocations: 4 kB / 254.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.0118, allocations: 63.95 kB / 254.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.01181, allocations: 19.89 kB / 254.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.622e-05/0.01187, allocations: 32.77 kB / 254.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.01188, allocations: 12.09 kB / 254.7 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005015/0.01238, allocations: 1.234 MB / 256 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01238, allocations: 0 / 256 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.0126, allocations: 336.3 kB / 256.3 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.01261, allocations: 8 kB / 256.3 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.941e-05/0.01267, allocations: 12.03 kB / 256.3 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.0127, allocations: 23.95 kB / 256.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.01271, allocations: 4 kB / 256.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.339e-05/0.01274, allocations: 42.06 kB / 256.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01274, allocations: 0 / 256.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.01293, allocations: 64 kB / 256.5 MB, free: 1.855 MB / 250.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.71e-05/0.01301, allocations: 84.36 kB / 256.5 MB, free: 1.766 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.01325, allocations: 259.2 kB / 256.8 MB, free: 1.496 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.01326, allocations: 8 kB / 256.8 MB, free: 1.488 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01339, allocations: 216 kB / 257 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.01359, allocations: 60.09 kB / 257.1 MB, free: 1.203 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.01682, allocations: 0.5666 MB / 257.6 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.796e-05/0.01686, allocations: 88.92 kB / 257.7 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.157e-05/0.01692, allocations: 22.3 kB / 257.7 MB, free: 484 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.017, allocations: 87.36 kB / 257.8 MB, free: 396 kB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.017, allocations: 0 / 257.8 MB, free: 396 kB / 250.7 MB Notification: Performance of Templates: time 0.004498/0.0215, allocations: 3.007 MB / 260.8 MB, free: 13.43 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] 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","",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.407428275793791]