Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.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.001079/0.001079, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.002574, 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.00103/0.00103, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002318, 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 1.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09077/1.107, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2629/0.2629, allocations: 34.26 MB / 278.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02411/0.287, allocations: 13.09 MB / 291.3 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.137e-06/1.047e-05, allocations: 5.281 kB / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002572/0.002583, allocations: 2.676 MB / 295.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009164/0.003499, allocations: 0.7337 MB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.003617, allocations: 15.88 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.715e-05/0.003704, allocations: 47.52 kB / 296.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.003823, allocations: 91.12 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.00399, allocations: 103.7 kB / 296.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.004253, allocations: 350.4 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.004368, allocations: 68.02 kB / 296.7 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.00459, allocations: 216.7 kB / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.004694, allocations: 95.69 kB / 297 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.004721, allocations: 24 kB / 297 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.331e-05/0.004784, allocations: 27.94 kB / 297 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.004813, allocations: 43.81 kB / 297.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.004872, allocations: 75.88 kB / 297.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.005078, allocations: 207.1 kB / 297.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.005091, allocations: 0 / 297.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005092, allocations: 4 kB / 297.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.005106, allocations: 3.984 kB / 297.4 MB, free: 1.551 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006265/0.005733, allocations: 0.5514 MB / 297.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.005766, allocations: 8.031 kB / 297.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.005963, allocations: 134 kB / 298 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.006187, allocations: 201.2 kB / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.006209, allocations: 16.88 kB / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.006245, allocations: 32.33 kB / 298.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.006471, allocations: 234.4 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.006485, allocations: 4.125 kB / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.006498, allocations: 8.375 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.006508, allocations: 7.938 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.552e-05/0.006604, allocations: 86.64 kB / 298.6 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.007352, allocations: 1.01 MB / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.007507, allocations: 158.5 kB / 299.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.007553, allocations: 51.42 kB / 299.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.007567, allocations: 8 kB / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.00759, allocations: 46.44 kB / 299.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.007591, allocations: 0 / 299.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008981/0.008489, allocations: 0.8264 MB / 300.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.008539, allocations: 140.5 kB / 300.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.008663, allocations: 228.9 kB / 301.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.008677, allocations: 29.7 kB / 301.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.008737, allocations: 165 kB / 301.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.008793, allocations: 119 kB / 301.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.008851, allocations: 70.16 kB / 301.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.008928, allocations: 342.8 kB / 301.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.008966, allocations: 28.98 kB / 301.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.009067, allocations: 174 kB / 302 MB, free: 12.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.009232, allocations: 253.9 kB / 302.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.009234, allocations: 4 kB / 302.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002051/0.00944, allocations: 225 kB / 302.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.009453, allocations: 8 kB / 302.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.009458, allocations: 4.406 kB / 302.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.00947, allocations: 12 kB / 302.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.009665, allocations: 107.8 kB / 302.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.009672, allocations: 11.94 kB / 302.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.009754, allocations: 27.88 kB / 302.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.009768, allocations: 16 kB / 302.6 MB, free: 11.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.989e-05/0.009848, allocations: 129.7 kB / 302.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.009903, allocations: 32.2 kB / 302.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.009939, allocations: 33.77 kB / 302.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.009943, allocations: 7.984 kB / 302.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.009948, allocations: 11.94 kB / 302.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.009952, allocations: 0 / 302.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.0105, allocations: 0.6579 MB / 303.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.0105, allocations: 4 kB / 303.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.01067, allocations: 83.88 kB / 303.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.0107, allocations: 27.8 kB / 303.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.0107, allocations: 64 / 303.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01071, allocations: 12 kB / 303.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.01072, allocations: 11.92 kB / 303.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01072, allocations: 0 / 303.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.011, allocations: 0.5307 MB / 304.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.01103, allocations: 11.98 kB / 304.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.01115, allocations: 8 kB / 304.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.01119, allocations: 27.95 kB / 304.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.0112, allocations: 11.98 kB / 304.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.356e-05/0.01125, allocations: 74.77 kB / 304.3 MB, free: 10 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01125, allocations: 4 kB / 304.3 MB, free: 10 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.0115, allocations: 64 kB / 304.4 MB, free: 9.938 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.333e-05/0.01158, allocations: 96.23 kB / 304.5 MB, free: 9.836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.01175, allocations: 157.5 kB / 304.6 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/0.01176, allocations: 4.812 kB / 304.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/0.01183, allocations: 72.83 kB / 304.7 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.01218, allocations: 69.17 kB / 304.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.01451, allocations: 0.6185 MB / 305.4 MB, free: 8.867 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.267e-05/0.01457, allocations: 92.92 kB / 305.5 MB, free: 8.758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.797e-05/0.01465, allocations: 35.42 kB / 305.5 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.01475, allocations: 99.34 kB / 305.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01475, allocations: 0 / 305.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of Templates: time 0.00414/0.01889, allocations: 2.524 MB / 308.1 MB, free: 6.152 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.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.9031648747622967]