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.001804/0.001804, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.002002/0.002002, allocations: 169.7 kB / 24.82 MB, free: 9.273 MB / 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 0.9524/0.9524, allocations: 177 MB / 205.1 MB, free: 5.477 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.2889/0.2889, allocations: 34.86 MB / 296.6 MB, free: 0.5 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 2.314e-06/2.314e-06, allocations: 0 / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.853e-05, allocations: 6.25 kB / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.007292/0.007321, allocations: 2.625 MB / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.008654, allocations: 0.7048 MB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.008814, allocations: 7.938 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.008974, allocations: 47.52 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.009149, allocations: 91.14 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.009473, allocations: 107.8 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.009825, allocations: 350.3 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.009996, allocations: 62.06 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.01037, allocations: 191.6 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.01055, allocations: 103.7 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.0106, allocations: 23.94 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.767e-05/0.0107, allocations: 24 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.01075, allocations: 55.75 kB / 383.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.01085, allocations: 99.75 kB / 383.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.01116, allocations: 211.2 kB / 383.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.01116, allocations: 4 kB / 383.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01116, allocations: 0 / 383.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.01117, allocations: 4 kB / 383.9 MB, free: 13.14 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.0008454/0.01202, allocations: 0.6166 MB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.01207, allocations: 8.031 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/0.01233, allocations: 76.69 kB / 384.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.01268, allocations: 220 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.01271, allocations: 16.88 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.01278, allocations: 40.25 kB / 384.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.01312, allocations: 247.4 kB / 385.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.01314, allocations: 192 / 385.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.01316, allocations: 8.375 kB / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.01317, allocations: 11.94 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.01333, allocations: 83.78 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.01449, allocations: 1.394 MB / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.01473, allocations: 204.4 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.0148, allocations: 62.73 kB / 386.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.01482, allocations: 12 kB / 386.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.01485, allocations: 41.31 kB / 386.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.01485, allocations: 8 kB / 386.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001092/0.01594, allocations: 0.8325 MB / 387.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.016, allocations: 136.5 kB / 387.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.01617, allocations: 280.1 kB / 388.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.01619, allocations: 33.7 kB / 388.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.0163, allocations: 227.2 kB / 388.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.28e-05/0.01638, allocations: 130.9 kB / 388.5 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.01646, allocations: 79.77 kB / 388.6 MB, free: 7.961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.01662, allocations: 0.5117 MB / 389.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.01669, allocations: 32.97 kB / 389.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.01687, allocations: 230.6 kB / 389.4 MB, free: 7.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.01722, allocations: 298.7 kB / 389.7 MB, free: 6.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01722, allocations: 0 / 389.7 MB, free: 6.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003989/0.01762, allocations: 286 kB / 389.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.01764, allocations: 4 kB / 390 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.01765, allocations: 8 kB / 390 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.01767, allocations: 4 kB / 390 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.01794, allocations: 103.8 kB / 390.1 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.01795, allocations: 8 kB / 390.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.0181, allocations: 19.98 kB / 390.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.01812, allocations: 12.25 kB / 390.1 MB, free: 6.281 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.0001134/0.01823, allocations: 188.4 kB / 390.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.01834, allocations: 39.81 kB / 390.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.0184, allocations: 38.08 kB / 390.4 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.0184, allocations: 4 kB / 390.4 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.01841, allocations: 3.938 kB / 390.4 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01841, allocations: 8 kB / 390.4 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.01941, allocations: 0.924 MB / 391.3 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.01941, allocations: 8.062 kB / 391.3 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.01979, allocations: 71.89 kB / 391.4 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.01979, allocations: 4 kB / 391.4 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.01981, allocations: 8 kB / 391.4 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.01981, allocations: 4.078 kB / 391.4 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.01982, allocations: 3.984 kB / 391.4 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.02028, allocations: 0.7348 MB / 392.1 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.02031, allocations: 27.81 kB / 392.2 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.02034, allocations: 11.98 kB / 392.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.02054, allocations: 16 kB / 392.2 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.0206, allocations: 27.89 kB / 392.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.02061, allocations: 7.984 kB / 392.2 MB, free: 4.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.078e-05/0.0207, allocations: 193.1 kB / 392.4 MB, free: 3.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0207, allocations: 0 / 392.4 MB, free: 3.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004211/0.02112, allocations: 75.88 kB / 392.5 MB, free: 3.812 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 8.948e-05/0.02121, allocations: 95.25 kB / 392.6 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.02144, allocations: 164.5 kB / 392.7 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.02144, allocations: 0 / 392.7 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.02154, allocations: 79.52 kB / 392.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.02208, allocations: 46.72 kB / 392.9 MB, free: 3.414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.02319, allocations: 0.7526 MB / 393.6 MB, free: 2.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.551e-05/0.02327, allocations: 92.92 kB / 393.7 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.0234, allocations: 34.94 kB / 393.7 MB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.02354, allocations: 118.2 kB / 393.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02354, allocations: 0 / 393.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of Templates: time 0.005587/0.02913, allocations: 2.62 MB / 396.5 MB, free: 15.77 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.129030354321003]