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.001902/0.001902, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.002093/0.002093, allocations: 215.8 kB / 23 MB, free: 5.574 MB / 14.72 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 1.473/1.473, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] 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.2356/0.2356, allocations: 46.92 MB / 359.4 MB, free: 4.844 MB / 286.1 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 0.002267/0.002267, allocations: 79.86 kB / 0.4946 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3251, allocations: 65.99 MB / 0.5591 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00419/0.3293, allocations: 2.655 MB / 0.5617 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3307, allocations: 0.7362 MB / 0.5624 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.3309, allocations: 15.94 kB / 0.5624 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.331, allocations: 43.52 kB / 0.5624 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.3312, allocations: 83.2 kB / 0.5625 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.3315, allocations: 95.88 kB / 0.5626 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.3319, allocations: 338.5 kB / 0.5629 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.3321, allocations: 65.92 kB / 0.563 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.3323, allocations: 139.5 kB / 0.5631 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3325, allocations: 123.4 kB / 0.5632 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.3325, allocations: 24 kB / 0.5633 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.3326, allocations: 31.98 kB / 0.5633 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.3326, allocations: 55.77 kB / 0.5633 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.3328, allocations: 147.2 kB / 0.5635 GB, free: 488 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.3332, allocations: 313 kB / 0.5638 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3332, allocations: 4 kB / 0.5638 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3332, allocations: 0 / 0.5638 GB, free: 176 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3332, allocations: 4 kB / 0.5638 GB, free: 172 kB / 398.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.0009824/0.3342, allocations: 0.5948 MB / 0.5644 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3342, allocations: 8.031 kB / 0.5644 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.3345, allocations: 56.72 kB / 0.5644 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.3349, allocations: 279.8 kB / 0.5647 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.3349, allocations: 16.94 kB / 0.5647 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.335, allocations: 32.33 kB / 0.5648 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.3355, allocations: 286.2 kB / 0.565 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.3356, allocations: 7.953 kB / 0.565 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.3356, allocations: 8 kB / 0.565 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.3356, allocations: 8 kB / 0.565 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.336, allocations: 187.7 kB / 0.5652 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.3379, allocations: 1.31 MB / 0.5665 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.3383, allocations: 234.4 kB / 0.5667 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.3386, allocations: 95.52 kB / 0.5668 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.3386, allocations: 4 kB / 0.5668 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3386, allocations: 46.55 kB / 0.5669 GB, free: 12.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.362e-06/0.3386, allocations: 0 / 0.5669 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002718/0.3413, allocations: 1.574 MB / 0.5684 GB, free: 10.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/0.3414, allocations: 136.5 kB / 0.5685 GB, free: 10.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.3417, allocations: 230.2 kB / 0.5688 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3417, allocations: 37.64 kB / 0.5688 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3418, allocations: 176.5 kB / 0.569 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.3419, allocations: 126.9 kB / 0.5691 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3421, allocations: 66.12 kB / 0.5691 GB, free: 10.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3422, allocations: 342.8 kB / 0.5695 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.3425, allocations: 104.8 kB / 0.5696 GB, free: 9.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.3429, allocations: 233.4 kB / 0.5698 GB, free: 9.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.3435, allocations: 369.3 kB / 0.5701 GB, free: 9.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3435, allocations: 4 kB / 0.5701 GB, free: 9 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007868/0.3443, allocations: 396.8 kB / 0.5705 GB, free: 8.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3443, allocations: 8.391 kB / 0.5705 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3443, allocations: 16 kB / 0.5705 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3444, allocations: 4 kB / 0.5706 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.3448, allocations: 103.8 kB / 0.5707 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.3448, allocations: 8 kB / 0.5707 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.345, allocations: 23.98 kB / 0.5707 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.345, allocations: 16 kB / 0.5707 GB, free: 8.43 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.0001522/0.3452, allocations: 157.6 kB / 0.5708 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3453, allocations: 39.75 kB / 0.5709 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.3454, allocations: 33.7 kB / 0.5709 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3454, allocations: 4 kB / 0.5709 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3454, allocations: 4.234 kB / 0.5709 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3454, allocations: 0 / 0.5709 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.347, allocations: 0.9778 MB / 0.5719 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.347, allocations: 3.984 kB / 0.5719 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.3473, allocations: 75.88 kB / 0.572 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3473, allocations: 4.281 kB / 0.572 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.3474, allocations: 16 kB / 0.572 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3474, allocations: 4 kB / 0.572 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3474, allocations: 3.938 kB / 0.572 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3484, allocations: 0.7289 MB / 0.5727 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.3485, allocations: 108.8 kB / 0.5728 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.3485, allocations: 12 kB / 0.5728 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.3488, allocations: 23.98 kB / 0.5728 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.3489, allocations: 27.91 kB / 0.5729 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.3489, allocations: 12.25 kB / 0.5729 GB, free: 6.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.3491, allocations: 156.5 kB / 0.573 GB, free: 5.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3491, allocations: 0 / 0.573 GB, free: 5.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000521/0.3496, allocations: 68 kB / 0.5731 GB, free: 5.859 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.0001385/0.3497, allocations: 107.2 kB / 0.5732 GB, free: 5.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006413/0.3504, allocations: 263.8 kB / 0.5734 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3504, allocations: 0.8125 kB / 0.5734 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.3507, allocations: 131.9 kB / 0.5736 GB, free: 5.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.3513, allocations: 46.56 kB / 0.5736 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3528, allocations: 0.8835 MB / 0.5745 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.3532, allocations: 0.772 MB / 0.5752 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.3534, allocations: 30.97 kB / 0.5753 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.3535, allocations: 27.42 kB / 0.5753 GB, free: 3.531 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3535, allocations: 0 / 0.5753 GB, free: 3.531 MB / 414.1 MB Notification: Performance of Templates: time 0.006514/0.36, allocations: 2.57 MB / 0.5778 GB, free: 0.9766 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.206359884701669]