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.00137/0.00137, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001485/0.001485, allocations: 212.3 kB / 23.72 MB, free: 4.531 MB / 14.72 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2361/0.2361, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 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 0.002328/0.002328, allocations: 59.91 kB / 0.4966 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3281, allocations: 66.04 MB / 0.5611 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004033/0.3322, allocations: 2.478 MB / 0.5635 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3335, allocations: 0.6934 MB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.3337, allocations: 15.81 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.3339, allocations: 43.53 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.3341, allocations: 91.2 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.3344, allocations: 99.84 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.3348, allocations: 338.5 kB / 0.5647 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3349, allocations: 62.06 kB / 0.5648 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.3352, allocations: 135.5 kB / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.3354, allocations: 135.3 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.3354, allocations: 24 kB / 0.5651 GB, free: 80 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.3355, allocations: 28 kB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.3356, allocations: 59.83 kB / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.3357, allocations: 123.3 kB / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.3361, allocations: 309 kB / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.3361, allocations: 0 / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3361, allocations: 0 / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3361, allocations: 0 / 0.5656 GB, free: 15.57 MB / 414.1 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.0009883/0.3371, allocations: 0.5323 MB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3371, allocations: 8.031 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.3374, allocations: 48.73 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.3378, allocations: 217.9 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3378, allocations: 16.88 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.3379, allocations: 28.33 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.3384, allocations: 285.4 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.3384, allocations: 11.94 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.3385, allocations: 12 kB / 0.5667 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3385, allocations: 4 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.3389, allocations: 179.8 kB / 0.5668 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.3406, allocations: 1.157 MB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.341, allocations: 238.4 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.3413, allocations: 95.52 kB / 0.5683 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.3413, allocations: 7.984 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.3413, allocations: 42.56 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.3413, allocations: 0 / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002616/0.344, allocations: 1.205 MB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/0.344, allocations: 132.5 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.3443, allocations: 240.9 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3443, allocations: 29.7 kB / 0.5699 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.3445, allocations: 176.5 kB / 0.5701 GB, free: 10.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.958e-05/0.3446, allocations: 123 kB / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.3447, allocations: 74.08 kB / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3448, allocations: 338.8 kB / 0.5706 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.3451, allocations: 100.8 kB / 0.5707 GB, free: 9.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.3455, allocations: 229.5 kB / 0.5709 GB, free: 9.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.3461, allocations: 374.4 kB / 0.5713 GB, free: 9.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3461, allocations: 0 / 0.5713 GB, free: 9.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008109/0.3469, allocations: 401.2 kB / 0.5716 GB, free: 8.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3469, allocations: 8 kB / 0.5716 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3469, allocations: 8.078 kB / 0.5717 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.347, allocations: 11.94 kB / 0.5717 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.3474, allocations: 103.8 kB / 0.5718 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3474, allocations: 4 kB / 0.5718 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3476, allocations: 36.23 kB / 0.5718 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.3476, allocations: 12 kB / 0.5718 GB, free: 8.637 MB / 414.1 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 0.0001702/0.3478, allocations: 157.7 kB / 0.572 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3479, allocations: 31.75 kB / 0.572 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.348, allocations: 33.7 kB / 0.572 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.348, allocations: 4 kB / 0.572 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.348, allocations: 0 / 0.572 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.348, allocations: 4 kB / 0.572 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.3495, allocations: 0.8844 MB / 0.5729 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3495, allocations: 4 kB / 0.5729 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.3499, allocations: 83.94 kB / 0.573 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3499, allocations: 4 kB / 0.573 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.3499, allocations: 12.06 kB / 0.573 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.3499, allocations: 7.938 kB / 0.573 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.35, allocations: 3.938 kB / 0.573 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.351, allocations: 0.7305 MB / 0.5737 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.351, allocations: 27.81 kB / 0.5737 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.3511, allocations: 8.062 kB / 0.5738 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.3514, allocations: 23.97 kB / 0.5738 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.3515, allocations: 31.89 kB / 0.5738 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3515, allocations: 8 kB / 0.5738 GB, free: 6.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.3517, allocations: 156.5 kB / 0.574 GB, free: 6.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3517, allocations: 0 / 0.574 GB, free: 6.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.3522, allocations: 72.19 kB / 0.574 GB, free: 6.277 MB / 414.1 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.0001277/0.3523, allocations: 107.4 kB / 0.5741 GB, free: 6.164 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.353, allocations: 279.4 kB / 0.5744 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.353, allocations: 0.8125 kB / 0.5744 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.3532, allocations: 119.9 kB / 0.5745 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/0.3539, allocations: 42.64 kB / 0.5746 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.3554, allocations: 0.8841 MB / 0.5754 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.3556, allocations: 160.1 kB / 0.5756 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.3558, allocations: 38.94 kB / 0.5756 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.3559, allocations: 23.44 kB / 0.5756 GB, free: 4.566 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3559, allocations: 0 / 0.5756 GB, free: 4.566 MB / 414.1 MB Notification: Performance of Templates: time 0.007091/0.3629, allocations: 2.802 MB / 0.5784 GB, free: 1.797 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.19680145336315]