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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 76.75 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1818, allocations: 62.44 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.008189/0.19, allocations: 2.639 MB / 482.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.1928, allocations: 0.7167 MB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.1933, allocations: 7.938 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1936, allocations: 39.53 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.194, allocations: 99.12 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.1945, allocations: 95.88 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005715/0.1951, allocations: 334.6 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.1954, allocations: 81.92 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.1958, allocations: 127.5 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.1961, allocations: 135.3 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.1962, allocations: 24 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1964, allocations: 24 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.1965, allocations: 63.77 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.1968, allocations: 143.2 kB / 484.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.1974, allocations: 311.1 kB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.1974, allocations: 0 / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1974, allocations: 0 / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.876e-05/0.1974, allocations: 0 / 484.8 MB, free: 460 kB / 350.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.001639/0.1991, allocations: 0.5963 MB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.1992, allocations: 8.031 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.1996, allocations: 48.55 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.2002, allocations: 276.6 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.2003, allocations: 16.94 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/0.2004, allocations: 28.38 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008406/0.2012, allocations: 282.2 kB / 486.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/0.2013, allocations: 15.83 kB / 486.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.2013, allocations: 12 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.2014, allocations: 4 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/0.2022, allocations: 183.8 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.2051, allocations: 1.302 MB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007742/0.2058, allocations: 250.3 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.2063, allocations: 103.4 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.2063, allocations: 4.188 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.2064, allocations: 38.5 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.745e-06/0.2064, allocations: 0 / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.004681/0.2111, allocations: 1.569 MB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.2112, allocations: 132.5 kB / 489.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.2116, allocations: 232.9 kB / 489.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.2117, allocations: 29.7 kB / 489.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.2119, allocations: 176.4 kB / 490.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.2121, allocations: 118.3 kB / 490.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.2123, allocations: 70.12 kB / 490.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.2125, allocations: 338.8 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.213, allocations: 96.81 kB / 490.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.2136, allocations: 241.5 kB / 490.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.2148, allocations: 376.9 kB / 491.3 MB, free: 9.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2149, allocations: 4 kB / 491.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0015/0.2164, allocations: 396.9 kB / 491.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.2164, allocations: 4 kB / 491.7 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.2164, allocations: 8.312 kB / 491.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.2165, allocations: 4.406 kB / 491.7 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.2172, allocations: 107.9 kB / 491.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.297e-05/0.2173, allocations: 15.92 kB / 491.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.2177, allocations: 19.98 kB / 491.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.2178, allocations: 20 kB / 491.9 MB, free: 8.719 MB / 366.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.0002486/0.218, allocations: 149.7 kB / 492 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.2182, allocations: 35.56 kB / 492 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.2184, allocations: 33.7 kB / 492.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.2184, allocations: 8 kB / 492.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/0.2184, allocations: 4 kB / 492.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2184, allocations: 7.922 kB / 492.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.2211, allocations: 0.9779 MB / 493.1 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2212, allocations: 0 / 493.1 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/0.2219, allocations: 87.94 kB / 493.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.2219, allocations: 4 kB / 493.2 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.222, allocations: 7.938 kB / 493.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.222, allocations: 7.938 kB / 493.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.222, allocations: 4 kB / 493.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.2238, allocations: 0.7211 MB / 493.9 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.2239, allocations: 100.9 kB / 494 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.668e-05/0.224, allocations: 19.92 kB / 494 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005558/0.2246, allocations: 15.98 kB / 494 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.2247, allocations: 23.97 kB / 494.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.2248, allocations: 8 kB / 494.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.225, allocations: 160.5 kB / 494.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.225, allocations: 4 kB / 494.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009187/0.226, allocations: 64 kB / 494.3 MB, free: 6.176 MB / 366.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.0001705/0.2262, allocations: 103.2 kB / 494.4 MB, free: 6.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.2274, allocations: 288.5 kB / 494.7 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.2274, allocations: 4.062 kB / 494.7 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005588/0.228, allocations: 136.1 kB / 494.8 MB, free: 5.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.2293, allocations: 47.7 kB / 494.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.2319, allocations: 0.8911 MB / 495.8 MB, free: 4.668 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.2326, allocations: 0.772 MB / 496.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.2329, allocations: 34.95 kB / 496.6 MB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.233, allocations: 27.42 kB / 496.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.233, allocations: 0 / 496.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of Templates: time 0.01063/0.2437, allocations: 2.408 MB / 499 MB, free: 1.41 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches