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.000951/0.000951, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.0009038/0.0009038, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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.018/1.018, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.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.2786/0.2786, allocations: 34.86 MB / 296.3 MB, free: 0.5234 MB / 266.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.553e-06/1.553e-06, allocations: 0 / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.985e-05, allocations: 6.312 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003474/0.003503, allocations: 2.636 MB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.004825, allocations: 0.7204 MB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.004976, allocations: 15.88 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.005129, allocations: 35.59 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.0053, allocations: 91.14 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.005653, allocations: 111.7 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.006017, allocations: 350.3 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.006178, allocations: 50.08 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.00648, allocations: 199.5 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.006637, allocations: 99.69 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.006675, allocations: 20 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.006752, allocations: 28 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.006802, allocations: 59.73 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.598e-05/0.006898, allocations: 99.77 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.007232, allocations: 219.1 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.103e-06/0.007234, allocations: 0 / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.007237, allocations: 3.984 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.007243, allocations: 0 / 383.4 MB, free: 13.38 MB / 362.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.000783/0.008026, allocations: 0.605 MB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.008067, allocations: 12.03 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.008272, allocations: 76.67 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.008574, allocations: 224 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.008595, allocations: 16.88 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.008647, allocations: 32.31 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.009015, allocations: 259.4 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.00903, allocations: 8.125 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.009055, allocations: 20.31 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.009069, allocations: 7.938 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.009254, allocations: 102.8 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.01051, allocations: 1.417 MB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.01079, allocations: 224.3 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.01089, allocations: 70.72 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.01092, allocations: 8.125 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.01095, allocations: 45.39 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.01095, allocations: 0 / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001498/0.01245, allocations: 1 MB / 387.5 MB, free: 8.887 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.01252, allocations: 140.5 kB / 387.7 MB, free: 8.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.01275, allocations: 280.2 kB / 387.9 MB, free: 8.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.01277, allocations: 37.7 kB / 388 MB, free: 8.387 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.0129, allocations: 223.3 kB / 388.2 MB, free: 8.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.208e-05/0.01298, allocations: 123.1 kB / 388.3 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.01308, allocations: 75.8 kB / 388.4 MB, free: 7.961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.01325, allocations: 0.5117 MB / 388.9 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.01335, allocations: 44.95 kB / 389 MB, free: 7.395 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.01356, allocations: 230.7 kB / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.0139, allocations: 321.7 kB / 389.5 MB, free: 6.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.0139, allocations: 4 kB / 389.5 MB, free: 6.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004447/0.01435, allocations: 301 kB / 389.8 MB, free: 6.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.01437, allocations: 8 kB / 389.8 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.01438, allocations: 4.781 kB / 389.8 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.01441, allocations: 11.94 kB / 389.8 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.01468, allocations: 96.23 kB / 389.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.0147, allocations: 11.94 kB / 389.9 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.01484, allocations: 23.98 kB / 389.9 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.01486, allocations: 12 kB / 390 MB, free: 6.219 MB / 362.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 0.0001272/0.01498, allocations: 184.4 kB / 390.1 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.01509, allocations: 39.81 kB / 390.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.01515, allocations: 33.78 kB / 390.2 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.01515, allocations: 11.92 kB / 390.2 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01516, allocations: 0 / 390.2 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.01517, allocations: 8 kB / 390.2 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/0.01617, allocations: 0.9745 MB / 391.2 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.01617, allocations: 0 / 391.2 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.01641, allocations: 71.89 kB / 391.3 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.01642, allocations: 4 kB / 391.3 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.01644, allocations: 11.98 kB / 391.3 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01644, allocations: 0 / 391.3 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.01645, allocations: 4 kB / 391.3 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/0.01703, allocations: 0.7583 MB / 392.1 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.01706, allocations: 31.75 kB / 392.1 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.01709, allocations: 8 kB / 392.1 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.0173, allocations: 15.98 kB / 392.1 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.01738, allocations: 32.06 kB / 392.1 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.0174, allocations: 8 kB / 392.1 MB, free: 3.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.01752, allocations: 193.1 kB / 392.3 MB, free: 3.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01752, allocations: 0 / 392.3 MB, free: 3.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004474/0.01797, allocations: 64 kB / 392.4 MB, free: 3.688 MB / 362.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.000103/0.01807, allocations: 115.2 kB / 392.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.01839, allocations: 180.8 kB / 392.7 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01839, allocations: 0 / 392.7 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.01853, allocations: 92.7 kB / 392.8 MB, free: 3.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009637/0.01949, allocations: 50.97 kB / 392.8 MB, free: 3.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.0208, allocations: 0.7517 MB / 393.6 MB, free: 2.434 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.0209, allocations: 92.92 kB / 393.7 MB, free: 2.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.021, allocations: 30.95 kB / 393.7 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.02107, allocations: 32.48 kB / 393.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02107, allocations: 0 / 393.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of Templates: time 0.005563/0.02664, allocations: 2.394 MB / 396.1 MB, free: 15.89 MB / 378.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 -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: 3.2952396641485393]