Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001845/0.001845, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002225/0.002225, allocations: 216.1 kB / 24.47 MB, free: 4.195 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.436/1.436, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2257/0.2257, allocations: 46.89 MB / 361.1 MB, free: 4.637 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 75.88 kB / 0.4967 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3293, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004655/0.334, allocations: 2.664 MB / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3357, allocations: 0.7323 MB / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.336, allocations: 4 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.3362, allocations: 51.52 kB / 0.5645 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.3365, allocations: 87.2 kB / 0.5646 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.3369, allocations: 95.8 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005916/0.3375, allocations: 350.4 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.3378, allocations: 61.95 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.3382, allocations: 135.5 kB / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.3384, allocations: 135.3 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.3385, allocations: 20 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3386, allocations: 28 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.3387, allocations: 59.77 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.3389, allocations: 147.2 kB / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.3394, allocations: 305.3 kB / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3394, allocations: 0 / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3394, allocations: 0 / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.3394, allocations: 0 / 0.5659 GB, free: 164 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.001293/0.3407, allocations: 0.6113 MB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3407, allocations: 8.031 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.3411, allocations: 48.73 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.3416, allocations: 279.8 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.3417, allocations: 20.94 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.3417, allocations: 32.27 kB / 0.5669 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.3423, allocations: 274.6 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.3424, allocations: 11.89 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.3424, allocations: 8 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3424, allocations: 4 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.3429, allocations: 190.5 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.3448, allocations: 1.306 MB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.3453, allocations: 246.5 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.3455, allocations: 91.39 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3455, allocations: 4 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.3455, allocations: 46.5 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.953e-06/0.3456, allocations: 0 / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.003031/0.3486, allocations: 1.582 MB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.3487, allocations: 132.5 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3489, allocations: 229 kB / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.349, allocations: 29.7 kB / 0.5709 GB, free: 10.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3491, allocations: 188.5 kB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.3493, allocations: 119 kB / 0.5712 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3494, allocations: 70.09 kB / 0.5713 GB, free: 10.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3496, allocations: 338.8 kB / 0.5716 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.3498, allocations: 100.8 kB / 0.5717 GB, free: 9.695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.3502, allocations: 241.4 kB / 0.5719 GB, free: 9.402 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/0.3509, allocations: 365.1 kB / 0.5723 GB, free: 8.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3509, allocations: 0 / 0.5723 GB, free: 8.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008477/0.3517, allocations: 398.2 kB / 0.5726 GB, free: 8.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3518, allocations: 8 kB / 0.5727 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3518, allocations: 4.406 kB / 0.5727 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.3518, allocations: 12 kB / 0.5727 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.3522, allocations: 99.81 kB / 0.5728 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.3522, allocations: 15.92 kB / 0.5728 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.3524, allocations: 20.08 kB / 0.5728 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.3525, allocations: 23.94 kB / 0.5728 GB, free: 8.41 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.0001607/0.3526, allocations: 149.7 kB / 0.573 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3527, allocations: 35.75 kB / 0.573 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.3528, allocations: 41.7 kB / 0.573 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3528, allocations: 3.984 kB / 0.573 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3528, allocations: 0 / 0.573 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.078e-05/0.3529, allocations: 100.9 kB / 0.5731 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.353, allocations: 8 kB / 0.5731 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.3532, allocations: 15.98 kB / 0.5732 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.3533, allocations: 31.84 kB / 0.5732 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001043/0.3544, allocations: 0.6157 MB / 0.5738 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001206/0.3556, allocations: 0.8124 MB / 0.5746 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002836/0.3559, allocations: 120.2 kB / 0.5747 GB, free: 6.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.3561, allocations: 164.5 kB / 0.5749 GB, free: 6.266 MB / 414.1 MB Notification: Performance of Backend: time 5.31e-07/0.3561, allocations: 0 / 0.5749 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.3571, allocations: 257.2 kB / 0.5751 GB, free: 6.008 MB / 414.1 MB Notification: Performance of SimCode: time 0.001753/0.3588, allocations: 1.296 MB / 0.5764 GB, free: 4.668 MB / 414.1 MB Notification: Performance of Templates: time 0.008367/0.3672, allocations: 3.194 MB / 0.5795 GB, free: 1.492 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.886845798697323]