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.001144/0.001144, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001791/0.002935, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001098/0.001098, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002584, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9201/0.9201, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09407/1.014, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.2574/0.2574, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02841/0.2858, allocations: 13.24 MB / 292.8 MB, free: 6.367 MB / 282.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.252e-06/1.252e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.746e-06/9.998e-06, allocations: 3.406 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002369/0.002379, allocations: 2.672 MB / 296.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.003285, allocations: 0.7377 MB / 297.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.00338, allocations: 7.938 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.757e-05/0.003457, allocations: 47.52 kB / 297.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.003575, allocations: 99.08 kB / 297.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.003769, allocations: 107.7 kB / 297.7 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.004011, allocations: 346.4 kB / 298.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.004118, allocations: 60.08 kB / 298.1 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.004333, allocations: 212.7 kB / 298.4 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.004444, allocations: 95.7 kB / 298.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.00447, allocations: 28 kB / 298.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.00454, allocations: 31.98 kB / 298.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.00457, allocations: 39.81 kB / 298.5 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.004626, allocations: 83.81 kB / 298.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.004879, allocations: 199.1 kB / 298.8 MB, free: 336 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.004889, allocations: 0 / 298.8 MB, free: 336 kB / 282.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.004889, allocations: 0 / 298.8 MB, free: 336 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.004899, allocations: 0 / 298.8 MB, free: 336 kB / 282.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.0005531/0.005453, allocations: 0.5591 MB / 299.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.005483, allocations: 12.92 kB / 299.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.005646, allocations: 138 kB / 299.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.005827, allocations: 199.8 kB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.005841, allocations: 20.88 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.005873, allocations: 32.33 kB / 299.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.006067, allocations: 230.3 kB / 300 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.00608, allocations: 12.12 kB / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.006093, allocations: 12.38 kB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.0061, allocations: 7.938 kB / 300 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.64e-05/0.006186, allocations: 73.98 kB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.007014, allocations: 1.025 MB / 301.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.007155, allocations: 158.2 kB / 301.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.0072, allocations: 55.73 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.007216, allocations: 7.938 kB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.007237, allocations: 42.55 kB / 301.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.001e-06/0.007238, allocations: 0 / 301.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008396/0.008077, allocations: 0.8261 MB / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.008126, allocations: 148.4 kB / 302.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.008234, allocations: 224.9 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.008248, allocations: 29.7 kB / 302.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.008306, allocations: 169 kB / 302.8 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.008361, allocations: 119 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.00842, allocations: 74.16 kB / 303 MB, free: 11.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.008499, allocations: 338.8 kB / 303.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.008539, allocations: 32.97 kB / 303.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.00864, allocations: 170.1 kB / 303.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.009106, allocations: 261 kB / 303.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009108, allocations: 0 / 303.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002092/0.009318, allocations: 225.1 kB / 304 MB, free: 10.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.009328, allocations: 4 kB / 304 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.009334, allocations: 4 kB / 304 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.009348, allocations: 15.88 kB / 304 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.009544, allocations: 107.9 kB / 304.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.009554, allocations: 11.88 kB / 304.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/0.009639, allocations: 28.33 kB / 304.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.009651, allocations: 16 kB / 304.1 MB, free: 10.48 MB / 298.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 7.442e-05/0.009725, allocations: 133.8 kB / 304.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.009777, allocations: 27.97 kB / 304.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.009814, allocations: 38 kB / 304.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.009817, allocations: 7.938 kB / 304.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.009821, allocations: 3.938 kB / 304.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.009826, allocations: 3.984 kB / 304.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005164/0.01034, allocations: 0.6671 MB / 305 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01034, allocations: 0 / 305 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.01052, allocations: 83.88 kB / 305.1 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.01054, allocations: 23.8 kB / 305.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01055, allocations: 4 kB / 305.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01056, allocations: 4 kB / 305.1 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01056, allocations: 4 kB / 305.1 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.01057, allocations: 4 kB / 305.1 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.01086, allocations: 0.5331 MB / 305.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.01088, allocations: 11.98 kB / 305.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.011, allocations: 12 kB / 305.7 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.01105, allocations: 23.95 kB / 305.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.01106, allocations: 7.984 kB / 305.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.01111, allocations: 74.72 kB / 305.8 MB, free: 8.758 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01111, allocations: 4 kB / 305.8 MB, free: 8.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.01137, allocations: 68 kB / 305.9 MB, free: 8.688 MB / 298.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 7.012e-05/0.01144, allocations: 84.3 kB / 306 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.01162, allocations: 169.6 kB / 306.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.01162, allocations: 4 kB / 306.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.01172, allocations: 92.69 kB / 306.2 MB, free: 8.332 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.01213, allocations: 284.3 kB / 306.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.01462, allocations: 0.6355 MB / 307.1 MB, free: 7.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.084e-05/0.01469, allocations: 96.92 kB / 307.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.01477, allocations: 31.66 kB / 307.3 MB, free: 7.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.01487, allocations: 99.34 kB / 307.4 MB, free: 7.074 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01487, allocations: 0 / 307.4 MB, free: 7.074 MB / 298.7 MB Notification: Performance of Templates: time 0.00427/0.01914, allocations: 2.391 MB / 309.7 MB, free: 4.742 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.885092322714627]