Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007962/0.0007962, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001939, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007032/0.0007032, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009311/0.001634, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9621/0.9621, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09603/1.058, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2834/0.2834, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02881/0.3122, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.056e-05, allocations: 3.188 kB / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.006382/0.006402, allocations: 2.674 MB / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.007653, allocations: 0.7415 MB / 297.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.007784, allocations: 7.938 kB / 297.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.007888, allocations: 39.53 kB / 297.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.00805, allocations: 95.14 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.008256, allocations: 107.7 kB / 297.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.0116, allocations: 350.3 kB / 297.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.01173, allocations: 60.09 kB / 297.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.01203, allocations: 212.7 kB / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.01216, allocations: 103.7 kB / 298.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.01219, allocations: 24 kB / 298.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-05/0.01227, allocations: 24 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.01231, allocations: 43.81 kB / 298.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.264e-05/0.01239, allocations: 79.81 kB / 298.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.01265, allocations: 199.2 kB / 298.6 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.01267, allocations: 0 / 298.6 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01267, allocations: 3.938 kB / 298.6 MB, free: 472 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.01268, allocations: 0 / 298.6 MB, free: 472 kB / 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.0006753/0.01336, allocations: 0.5553 MB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.01339, allocations: 8.922 kB / 299.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.0136, allocations: 138 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.01384, allocations: 199.8 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.01385, allocations: 16.88 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.0139, allocations: 44.3 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.01416, allocations: 230.3 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01417, allocations: 4.141 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.01419, allocations: 12.38 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.0142, allocations: 11.94 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.01431, allocations: 71.89 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.01851, allocations: 1.018 MB / 300.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.0187, allocations: 162.4 kB / 301 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.01875, allocations: 51.41 kB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.01877, allocations: 8.344 kB / 301.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.0188, allocations: 42.48 kB / 301.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.0188, allocations: 0 / 301.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001081/0.01988, allocations: 0.8327 MB / 302 MB, free: 12.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.01993, allocations: 136.5 kB / 302.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.02008, allocations: 224.9 kB / 302.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.02009, allocations: 41.62 kB / 302.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.02016, allocations: 161 kB / 302.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.02023, allocations: 123 kB / 302.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003084/0.02332, allocations: 66.17 kB / 302.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.02341, allocations: 346.7 kB / 303 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.028e-05/0.02346, allocations: 28.98 kB / 303.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.02358, allocations: 174.1 kB / 303.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.0238, allocations: 248.7 kB / 303.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.0238, allocations: 0 / 303.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002683/0.02407, allocations: 225.5 kB / 303.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.02408, allocations: 8 kB / 303.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.02409, allocations: 7.984 kB / 303.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.0241, allocations: 8 kB / 303.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.02436, allocations: 107.8 kB / 303.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.02437, allocations: 11.88 kB / 303.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.0245, allocations: 32.33 kB / 303.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.02452, allocations: 16 kB / 303.9 MB, free: 10.63 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 8.208e-05/0.0246, allocations: 125.8 kB / 304 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.02468, allocations: 27.97 kB / 304 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.02472, allocations: 37.77 kB / 304.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.02473, allocations: 4 kB / 304.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.02473, allocations: 3.938 kB / 304.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.02474, allocations: 0 / 304.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007218/0.02546, allocations: 0.6733 MB / 304.8 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02546, allocations: 0 / 304.8 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.0257, allocations: 79.89 kB / 304.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.02572, allocations: 27.78 kB / 304.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.02573, allocations: 4 kB / 304.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.02574, allocations: 4.438 kB / 304.9 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.02575, allocations: 4 kB / 304.9 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.02575, allocations: 4 kB / 304.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.0261, allocations: 0.5396 MB / 305.4 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.02613, allocations: 8 kB / 305.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.02653, allocations: 15.98 kB / 305.4 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.02658, allocations: 23.95 kB / 305.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.02659, allocations: 8 kB / 305.5 MB, free: 8.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.992e-05/0.02665, allocations: 70.78 kB / 305.5 MB, free: 8.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02665, allocations: 4 kB / 305.5 MB, free: 8.906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.02704, allocations: 64 kB / 305.6 MB, free: 8.844 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 0.0001026/0.02714, allocations: 88.28 kB / 305.7 MB, free: 8.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.02737, allocations: 157.5 kB / 305.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.02738, allocations: 4 kB / 305.8 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.02748, allocations: 80.67 kB / 305.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.02798, allocations: 72.22 kB / 306 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.03078, allocations: 0.6272 MB / 306.6 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.739e-05/0.03084, allocations: 100.9 kB / 306.7 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.523e-05/0.03093, allocations: 35.52 kB / 306.8 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.03103, allocations: 95.36 kB / 306.9 MB, free: 7.52 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03103, allocations: 0 / 306.9 MB, free: 7.52 MB / 298.7 MB Notification: Performance of Templates: time 0.004366/0.03539, allocations: 2.523 MB / 309.4 MB, free: 5.047 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.919198190793395]