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.001007/0.001007, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002316, allocations: 453.8 kB / 10.46 MB, free: 236 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.0009247/0.0009247, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.002081, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9416/0.9416, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1667/1.108, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.299e-05, allocations: 2.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004943/0.004976, allocations: 2.413 MB / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.006662, allocations: 0.6279 MB / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.006899, allocations: 11.94 kB / 225 MB, free: 12.98 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.007068, allocations: 39.53 kB / 225.1 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.007337, allocations: 83.27 kB / 225.2 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.00755, allocations: 51.92 kB / 225.2 MB, free: 12.8 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.00796, allocations: 286.5 kB / 225.5 MB, free: 12.52 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.008186, allocations: 73.92 kB / 225.6 MB, free: 12.45 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.008644, allocations: 187.5 kB / 225.7 MB, free: 12.27 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.00886, allocations: 91.7 kB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/0.008921, allocations: 20 kB / 225.8 MB, free: 12.16 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.39e-05/0.008964, allocations: 20 kB / 225.9 MB, free: 12.14 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.009014, allocations: 35.88 kB / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.009133, allocations: 75.81 kB / 226 MB, free: 12.03 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.00943, allocations: 155.4 kB / 226.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-05/0.009445, allocations: 0 / 226.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.009447, allocations: 3.938 kB / 226.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.009465, allocations: 0 / 226.1 MB, free: 11.88 MB / 234.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.0008048/0.01027, allocations: 495.8 kB / 226.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.01031, allocations: 8.031 kB / 226.6 MB, free: 11.36 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.01039, allocations: 36.91 kB / 226.7 MB, free: 11.32 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.01066, allocations: 158.2 kB / 226.8 MB, free: 11.14 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.01068, allocations: 12.88 kB / 226.8 MB, free: 11.13 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.01074, allocations: 28.36 kB / 226.9 MB, free: 11.11 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.01101, allocations: 157.3 kB / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.01103, allocations: 192 / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.01105, allocations: 12.38 kB / 227 MB, free: 10.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.01106, allocations: 11.94 kB / 227 MB, free: 10.92 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.01114, allocations: 55.47 kB / 227.1 MB, free: 10.87 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.0117, allocations: 394.1 kB / 227.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.01185, allocations: 122.2 kB / 227.6 MB, free: 10.34 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.01191, allocations: 60.77 kB / 227.7 MB, free: 10.27 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.01193, allocations: 4 kB / 227.7 MB, free: 10.27 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.01196, allocations: 30.56 kB / 227.7 MB, free: 10.23 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 1.954e-06/0.01196, allocations: 0 / 227.7 MB, free: 10.23 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.001115/0.01307, allocations: 0.7437 MB / 228.4 MB, free: 9.434 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.01311, allocations: 55.41 kB / 228.5 MB, free: 9.367 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.0132, allocations: 162.8 kB / 228.6 MB, free: 9.195 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.01321, allocations: 33.7 kB / 228.7 MB, free: 9.156 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.01326, allocations: 128.8 kB / 228.8 MB, free: 9.027 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.01332, allocations: 122.9 kB / 228.9 MB, free: 8.906 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.01337, allocations: 49.69 kB / 229 MB, free: 8.852 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.01345, allocations: 338.8 kB / 229.3 MB, free: 8.512 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.01349, allocations: 23.98 kB / 229.3 MB, free: 8.488 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.01354, allocations: 70.5 kB / 229.4 MB, free: 8.41 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.01365, allocations: 116 kB / 229.5 MB, free: 8.289 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01365, allocations: 0 / 229.5 MB, free: 8.289 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001962/0.01384, allocations: 170.5 kB / 229.7 MB, free: 8.113 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.01386, allocations: 8 kB / 229.7 MB, free: 8.105 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01386, allocations: 0 / 229.7 MB, free: 8.105 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.014, allocations: 48.77 kB / 229.7 MB, free: 8.055 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.0142, allocations: 63.91 kB / 229.8 MB, free: 7.992 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009984/0.0152, allocations: 1.434 MB / 231.2 MB, free: 6.477 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.485e-05/0.01528, allocations: 8 kB / 231.2 MB, free: 6.469 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.01529, allocations: 11.98 kB / 231.2 MB, free: 6.457 MB / 234.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 9.406e-05/0.01538, allocations: 129.8 kB / 231.4 MB, free: 6.32 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.01541, allocations: 23.98 kB / 231.4 MB, free: 6.297 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.01545, allocations: 22.66 kB / 231.4 MB, free: 6.273 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01545, allocations: 7.984 kB / 231.4 MB, free: 6.266 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.01546, allocations: 0 / 231.4 MB, free: 6.266 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01546, allocations: 4 kB / 231.4 MB, free: 6.262 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.016, allocations: 0.4929 MB / 231.9 MB, free: 5.727 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.01601, allocations: 4 kB / 231.9 MB, free: 5.723 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.01618, allocations: 65.88 kB / 232 MB, free: 5.66 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.0162, allocations: 19.86 kB / 232 MB, free: 5.641 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.377e-05/0.01628, allocations: 32.83 kB / 232 MB, free: 5.605 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.0163, allocations: 8 kB / 232 MB, free: 5.598 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006901/0.01699, allocations: 1.237 MB / 233.3 MB, free: 4.266 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01699, allocations: 0 / 233.3 MB, free: 4.266 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.01727, allocations: 334.6 kB / 233.6 MB, free: 3.91 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01728, allocations: 8 kB / 233.6 MB, free: 3.902 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.01735, allocations: 11.98 kB / 233.6 MB, free: 3.891 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.0174, allocations: 19.97 kB / 233.7 MB, free: 3.871 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.01741, allocations: 12.02 kB / 233.7 MB, free: 3.859 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.022e-05/0.01745, allocations: 36.83 kB / 233.7 MB, free: 3.82 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01745, allocations: 0 / 233.7 MB, free: 3.82 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.01769, allocations: 64 kB / 233.8 MB, free: 3.758 MB / 234.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 0.0001096/0.01779, allocations: 96.27 kB / 233.9 MB, free: 3.656 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.01812, allocations: 255.9 kB / 234.1 MB, free: 3.391 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.01813, allocations: 8.172 kB / 234.1 MB, free: 3.383 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.01831, allocations: 239.1 kB / 234.3 MB, free: 3.133 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.01869, allocations: 406 kB / 234.7 MB, free: 2.656 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.02207, allocations: 0.5507 MB / 235.3 MB, free: 2.07 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.02213, allocations: 92.62 kB / 235.4 MB, free: 1.961 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.968e-05/0.02221, allocations: 26.28 kB / 235.4 MB, free: 1.938 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.02232, allocations: 99.34 kB / 235.5 MB, free: 1.84 MB / 234.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02232, allocations: 0 / 235.5 MB, free: 1.84 MB / 234.7 MB Notification: Performance of Templates: time 0.005231/0.02755, allocations: 3.095 MB / 238.6 MB, free: 14.77 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.648186044767499]