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.0008733/0.0008733, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.002048, allocations: 445.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.0007346/0.0007346, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009614/0.001696, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8776/0.8776, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1501/1.028, allocations: 49.48 MB / 220.5 MB, free: 1.457 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 1.773e-06/1.773e-06, allocations: 3.938 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.358e-05, allocations: 6.25 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002967/0.00299, allocations: 2.405 MB / 224.2 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003995, allocations: 0.6318 MB / 224.9 MB, free: 13.11 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.00413, allocations: 7.938 kB / 224.9 MB, free: 13.1 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.004232, allocations: 31.66 kB / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.004383, allocations: 95.14 kB / 225 MB, free: 12.97 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.004521, allocations: 47.92 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.004765, allocations: 286.5 kB / 225.3 MB, free: 12.64 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.004919, allocations: 73.92 kB / 225.4 MB, free: 12.57 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.005202, allocations: 183.6 kB / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.005341, allocations: 91.69 kB / 225.7 MB, free: 12.3 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.005376, allocations: 23.94 kB / 225.7 MB, free: 12.28 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.353e-05/0.005399, allocations: 20 kB / 225.7 MB, free: 12.26 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.005431, allocations: 35.88 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.005498, allocations: 75.81 kB / 225.8 MB, free: 12.15 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.005676, allocations: 155.4 kB / 226 MB, free: 12 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.475e-05/0.005691, allocations: 0 / 226 MB, free: 12 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.005692, allocations: 0 / 226 MB, free: 12 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.005707, allocations: 0 / 226 MB, free: 12 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.0005555/0.006262, allocations: 487.9 kB / 226.5 MB, free: 11.5 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.006294, allocations: 12.03 kB / 226.5 MB, free: 11.49 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.006347, allocations: 36.84 kB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.006542, allocations: 166.1 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.00656, allocations: 20.88 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.00659, allocations: 20.31 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.006764, allocations: 153.3 kB / 226.9 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.006777, allocations: 12.17 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.006789, allocations: 8.375 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.006795, allocations: 7.938 kB / 226.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.006869, allocations: 63.41 kB / 226.9 MB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.007402, allocations: 386.1 kB / 227.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.007555, allocations: 130.2 kB / 227.4 MB, free: 10.45 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.007605, allocations: 52.77 kB / 227.5 MB, free: 10.39 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.007621, allocations: 4 kB / 227.5 MB, free: 10.39 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.007641, allocations: 34.56 kB / 227.5 MB, free: 10.35 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.007643, allocations: 0 / 227.5 MB, free: 10.35 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.001022/0.008665, allocations: 0.7267 MB / 228.3 MB, free: 9.566 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.008693, allocations: 55.41 kB / 228.3 MB, free: 9.5 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.008784, allocations: 158.8 kB / 228.5 MB, free: 9.332 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.008799, allocations: 33.7 kB / 228.5 MB, free: 9.293 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.008856, allocations: 132.8 kB / 228.6 MB, free: 9.16 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.008922, allocations: 118.9 kB / 228.7 MB, free: 9.043 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.008977, allocations: 57.67 kB / 228.8 MB, free: 8.98 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.009067, allocations: 330.8 kB / 229.1 MB, free: 8.648 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.009101, allocations: 31.98 kB / 229.2 MB, free: 8.617 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.009157, allocations: 58.56 kB / 229.2 MB, free: 8.551 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.009261, allocations: 120 kB / 229.3 MB, free: 8.426 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009262, allocations: 0 / 229.3 MB, free: 8.426 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002022/0.009464, allocations: 174.5 kB / 229.5 MB, free: 8.246 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.009479, allocations: 4 kB / 229.5 MB, free: 8.242 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.009485, allocations: 4 kB / 229.5 MB, free: 8.238 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/0.009607, allocations: 44.83 kB / 229.6 MB, free: 8.191 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.009797, allocations: 63.91 kB / 229.6 MB, free: 8.129 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000969/0.01077, allocations: 1.434 MB / 231.1 MB, free: 6.613 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.861e-05/0.01084, allocations: 12.03 kB / 231.1 MB, free: 6.602 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.01086, allocations: 4 kB / 231.1 MB, free: 6.598 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 8.898e-05/0.01094, allocations: 129.7 kB / 231.2 MB, free: 6.461 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.01098, allocations: 27.97 kB / 231.2 MB, free: 6.434 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.01102, allocations: 30.59 kB / 231.3 MB, free: 6.402 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01102, allocations: 4 kB / 231.3 MB, free: 6.398 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.01103, allocations: 0 / 231.3 MB, free: 6.398 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01104, allocations: 0 / 231.3 MB, free: 6.398 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005359/0.01157, allocations: 0.4929 MB / 231.7 MB, free: 5.863 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.01158, allocations: 0 / 231.7 MB, free: 5.863 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.01175, allocations: 71.89 kB / 231.8 MB, free: 5.793 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.01178, allocations: 19.86 kB / 231.8 MB, free: 5.773 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.612e-05/0.01188, allocations: 28.84 kB / 231.9 MB, free: 5.742 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01189, allocations: 12.08 kB / 231.9 MB, free: 5.73 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007465/0.01264, allocations: 1.229 MB / 233.1 MB, free: 4.41 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.01264, allocations: 0 / 233.1 MB, free: 4.41 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.01298, allocations: 338.9 kB / 233.4 MB, free: 4.051 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.013, allocations: 8 kB / 233.4 MB, free: 4.043 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.01307, allocations: 12.03 kB / 233.5 MB, free: 4.031 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.01313, allocations: 23.95 kB / 233.5 MB, free: 4.008 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.01314, allocations: 8 kB / 233.5 MB, free: 4 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.514e-05/0.01318, allocations: 40.75 kB / 233.5 MB, free: 3.957 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01318, allocations: 0 / 233.5 MB, free: 3.957 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.01342, allocations: 68 kB / 233.6 MB, free: 3.891 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.0001102/0.01353, allocations: 84.41 kB / 233.7 MB, free: 3.801 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.01383, allocations: 255.6 kB / 233.9 MB, free: 3.535 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/0.01385, allocations: 4 kB / 233.9 MB, free: 3.531 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.01401, allocations: 219.2 kB / 234.1 MB, free: 3.301 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.01425, allocations: 65.89 kB / 234.2 MB, free: 3.238 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.01757, allocations: 0.5466 MB / 234.8 MB, free: 2.656 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.245e-05/0.01763, allocations: 88.69 kB / 234.8 MB, free: 2.551 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.218e-05/0.0177, allocations: 26.38 kB / 234.9 MB, free: 2.527 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.0178, allocations: 91.36 kB / 235 MB, free: 2.438 MB / 234.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0178, allocations: 0 / 235 MB, free: 2.438 MB / 234.7 MB Notification: Performance of Templates: time 0.004803/0.0226, allocations: 3.009 MB / 238 MB, free: 15.46 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.567298535257578]