Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009144/0.0009144, allocations: 80.06 kB / 20.72 MB, free: 3.762 MB / 18.57 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.0008962/0.0008962, allocations: 169 kB / 24.14 MB, free: 352 kB / 18.57 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.8839/0.8839, allocations: 158.6 MB / 186 MB, free: 1.957 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1333/0.1333, allocations: 32.38 MB / 270.7 MB, free: 14.51 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 299 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.092e-05, allocations: 2.312 kB / 299 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.1959/0.196, allocations: 2.591 MB / 301.6 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1976, allocations: 0.6929 MB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.1978, allocations: 8.594 kB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.198, allocations: 47.61 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1982, allocations: 90.48 kB / 302.5 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1986, allocations: 87.34 kB / 302.6 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000409/0.199, allocations: 347.5 kB / 302.9 MB, free: 19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.1992, allocations: 59.19 kB / 303 MB, free: 18.99 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.1995, allocations: 187.3 kB / 303.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.1997, allocations: 101.2 kB / 303.2 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.1997, allocations: 22.5 kB / 303.3 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-05/0.1998, allocations: 22.31 kB / 303.3 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.1998, allocations: 54.41 kB / 303.3 MB, free: 18.94 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.2, allocations: 100.2 kB / 303.4 MB, free: 18.92 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.2003, allocations: 214.3 kB / 303.6 MB, free: 18.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.2003, allocations: 0.6562 kB / 303.6 MB, free: 18.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2003, allocations: 0 / 303.6 MB, free: 18.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2003, allocations: 2.281 kB / 303.6 MB, free: 18.82 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.0006693/0.2009, allocations: 0.4928 MB / 304.1 MB, free: 18.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.201, allocations: 10.47 kB / 304.1 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.432e-05/0.2011, allocations: 41.72 kB / 304.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.2013, allocations: 183 kB / 304.4 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.2013, allocations: 20.11 kB / 304.4 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.2014, allocations: 26.73 kB / 304.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.2017, allocations: 241 kB / 304.6 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.2018, allocations: 7.047 kB / 304.6 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.2018, allocations: 11.28 kB / 304.7 MB, free: 18.1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2018, allocations: 9.875 kB / 304.7 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.2019, allocations: 82.67 kB / 304.8 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.203, allocations: 1.016 MB / 305.8 MB, free: 17.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.2032, allocations: 158 kB / 305.9 MB, free: 17.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.2033, allocations: 61.3 kB / 306 MB, free: 17.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.2033, allocations: 9.203 kB / 306 MB, free: 17.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2033, allocations: 39.3 kB / 306 MB, free: 17.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 3.387e-06/0.2033, allocations: 1.922 kB / 306 MB, free: 17.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001343/0.2047, allocations: 0.8096 MB / 306.8 MB, free: 16.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.2047, allocations: 145.4 kB / 307 MB, free: 16.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.2049, allocations: 218.9 kB / 307.2 MB, free: 16.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2049, allocations: 31.53 kB / 307.2 MB, free: 16.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.205, allocations: 166 kB / 307.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.485e-05/0.2051, allocations: 127.4 kB / 307.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/0.2052, allocations: 69.59 kB / 307.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.2053, allocations: 343.5 kB / 307.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.098e-05/0.2054, allocations: 30.06 kB / 307.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2055, allocations: 172.1 kB / 308.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.2058, allocations: 247 kB / 308.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2058, allocations: 1.688 kB / 308.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003638/0.2061, allocations: 226.8 kB / 308.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.2061, allocations: 6.188 kB / 308.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.2062, allocations: 9.391 kB / 308.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.2062, allocations: 6.75 kB / 308.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.2064, allocations: 93.28 kB / 308.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.2065, allocations: 16.11 kB / 308.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.2066, allocations: 17.36 kB / 308.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.2066, allocations: 16.84 kB / 308.7 MB, free: 14.99 MB / 282.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 9.549e-05/0.2067, allocations: 132.9 kB / 308.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.2068, allocations: 32.52 kB / 308.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.2069, allocations: 40.14 kB / 308.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2069, allocations: 2.938 kB / 308.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.2069, allocations: 7.469 kB / 309 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2069, allocations: 5.812 kB / 309 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/0.2077, allocations: 0.6581 MB / 309.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2077, allocations: 1.094 kB / 309.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.208, allocations: 78.61 kB / 309.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.208, allocations: 2.219 kB / 309.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.208, allocations: 8.453 kB / 309.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.208, allocations: 4.359 kB / 309.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.208, allocations: 6.688 kB / 309.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.2084, allocations: 0.5197 MB / 310.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.2085, allocations: 26.2 kB / 310.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.2085, allocations: 8.203 kB / 310.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.2087, allocations: 17.92 kB / 310.3 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.2088, allocations: 28.89 kB / 310.3 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2088, allocations: 9.922 kB / 310.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.583e-05/0.2089, allocations: 71.14 kB / 310.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2089, allocations: 0 / 310.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00047/0.2094, allocations: 68.75 kB / 310.5 MB, free: 13.82 MB / 282.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 0.0001163/0.2095, allocations: 86.91 kB / 310.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.2098, allocations: 156.6 kB / 310.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.2098, allocations: 2.125 kB / 310.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.2099, allocations: 81.73 kB / 310.8 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.2104, allocations: 42.88 kB / 310.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.2116, allocations: 0.6306 MB / 311.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2117, allocations: 93.2 kB / 311.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.2118, allocations: 32.8 kB / 311.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.212, allocations: 93.31 kB / 311.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.212, allocations: 0 / 311.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of Templates: time 0.006951/0.2189, allocations: 2.465 MB / 314.1 MB, free: 12.62 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.2229378442279994]