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.001844/0.001844, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002337/0.002337, allocations: 212.7 kB / 23.73 MB, free: 4.164 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.579/1.579, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.2325/0.2325, allocations: 46.95 MB / 360.8 MB, free: 3.926 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.002504/0.002504, allocations: 79.86 kB / 0.4966 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3504, allocations: 66.08 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004444/0.3549, allocations: 2.474 MB / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3563, allocations: 0.705 MB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.3565, allocations: 7.938 kB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.3567, allocations: 43.53 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.3569, allocations: 87.2 kB / 0.5644 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.3572, allocations: 103.8 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.3577, allocations: 338.5 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3579, allocations: 58.06 kB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.3581, allocations: 139.5 kB / 0.565 GB, free: 0 / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.3583, allocations: 119.4 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.3584, allocations: 20 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.3585, allocations: 28 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.3585, allocations: 55.78 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3587, allocations: 119.4 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.3591, allocations: 317 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3591, allocations: 0 / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3591, allocations: 4 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.3591, allocations: 0 / 0.5656 GB, free: 15.36 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.001021/0.3601, allocations: 0.5284 MB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3602, allocations: 12.03 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.3604, allocations: 48.73 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.3609, allocations: 214 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3609, allocations: 16.88 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.3609, allocations: 32.33 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.3615, allocations: 277.5 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.3615, allocations: 11.88 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.3615, allocations: 16 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.3615, allocations: 8 kB / 0.5668 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.362, allocations: 182.1 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.3637, allocations: 1.149 MB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.3641, allocations: 242.2 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.3643, allocations: 95.38 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.3644, allocations: 4.188 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.3644, allocations: 42.5 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.774e-06/0.3644, allocations: 0 / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.00254/0.3669, allocations: 1.209 MB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/0.367, allocations: 132.5 kB / 0.5697 GB, free: 10.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.3673, allocations: 237 kB / 0.57 GB, free: 10.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.3673, allocations: 33.7 kB / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.3675, allocations: 176.5 kB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3676, allocations: 115 kB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3677, allocations: 70.08 kB / 0.5703 GB, free: 10.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3679, allocations: 342.8 kB / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.3682, allocations: 104.8 kB / 0.5708 GB, free: 9.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.3685, allocations: 237.4 kB / 0.571 GB, free: 9.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/0.3692, allocations: 378.5 kB / 0.5713 GB, free: 8.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3692, allocations: 8 kB / 0.5714 GB, free: 8.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007741/0.3699, allocations: 397.2 kB / 0.5717 GB, free: 8.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.37, allocations: 10.33 kB / 0.5717 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.37, allocations: 8 kB / 0.5717 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.37, allocations: 4 kB / 0.5718 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.3704, allocations: 99.88 kB / 0.5718 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.3704, allocations: 11.94 kB / 0.5719 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.3706, allocations: 27.92 kB / 0.5719 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.3706, allocations: 16 kB / 0.5719 GB, free: 8.418 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.0001769/0.3708, allocations: 157.7 kB / 0.5721 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.3709, allocations: 35.75 kB / 0.5721 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.371, allocations: 29.7 kB / 0.5721 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.371, allocations: 4 kB / 0.5721 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.371, allocations: 4 kB / 0.5721 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.371, allocations: 0 / 0.5721 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.3726, allocations: 0.8802 MB / 0.573 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3726, allocations: 0 / 0.573 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.3729, allocations: 83.88 kB / 0.5731 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3729, allocations: 0 / 0.5731 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.373, allocations: 8 kB / 0.5731 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.373, allocations: 4 kB / 0.5731 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.373, allocations: 7.875 kB / 0.5731 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.374, allocations: 0.7345 MB / 0.5738 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3741, allocations: 23.81 kB / 0.5738 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.3741, allocations: 16 kB / 0.5738 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.3744, allocations: 27.91 kB / 0.5739 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.3745, allocations: 31.89 kB / 0.5739 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.3745, allocations: 8 kB / 0.5739 GB, free: 6.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.3747, allocations: 168.4 kB / 0.5741 GB, free: 6.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3747, allocations: 0 / 0.5741 GB, free: 6.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.3752, allocations: 64 kB / 0.5741 GB, free: 6.059 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.0001201/0.3753, allocations: 103.4 kB / 0.5742 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.3759, allocations: 284 kB / 0.5745 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3759, allocations: 0 / 0.5745 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.3762, allocations: 120.8 kB / 0.5746 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.3769, allocations: 44.47 kB / 0.5746 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.3783, allocations: 0.8687 MB / 0.5755 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.3785, allocations: 160.1 kB / 0.5756 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.3786, allocations: 38.94 kB / 0.5757 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.3787, allocations: 27.44 kB / 0.5757 GB, free: 4.352 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3787, allocations: 8 kB / 0.5757 GB, free: 4.344 MB / 414.1 MB Notification: Performance of Templates: time 0.006617/0.3853, allocations: 2.706 MB / 0.5784 GB, free: 1.668 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.1.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.375620823353529]