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.0007408/0.0007408, allocations: 89.7 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009965/0.0009966, allocations: 203.8 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 45.92 MB / 344.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 11.94 kB / 418.7 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 63.46 MB / 482.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003235/0.1648, allocations: 2.215 MB / 484.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1662, allocations: 0.6626 MB / 485 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.1664, allocations: 7.938 kB / 485 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.1665, allocations: 27.77 kB / 485 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1667, allocations: 75.39 kB / 485.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.167, allocations: 63.88 kB / 485.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.1674, allocations: 302.6 kB / 485.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.1676, allocations: 61.58 kB / 485.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.1678, allocations: 123.5 kB / 485.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.168, allocations: 115.5 kB / 485.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.1681, allocations: 12 kB / 485.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.1681, allocations: 16 kB / 485.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.1682, allocations: 43.78 kB / 485.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.084e-05/0.1683, allocations: 69.58 kB / 485.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.1685, allocations: 215.7 kB / 486.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1686, allocations: 0 / 486.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1686, allocations: 4 kB / 486.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1686, allocations: 0 / 486.1 MB, free: 1.352 MB / 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.000967/0.1696, allocations: 0.5572 MB / 486.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.1696, allocations: 8.031 kB / 486.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.1699, allocations: 55.59 kB / 486.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.1703, allocations: 255.5 kB / 487 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.1703, allocations: 20.56 kB / 487 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.1704, allocations: 28 kB / 487 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.171, allocations: 285.9 kB / 487.3 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.171, allocations: 7.906 kB / 487.3 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.1711, allocations: 11.98 kB / 487.3 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1711, allocations: 12 kB / 487.3 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.1716, allocations: 209.9 kB / 487.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.1736, allocations: 1.321 MB / 488.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.1741, allocations: 258.5 kB / 489.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.1743, allocations: 103.4 kB / 489.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.1744, allocations: 4 kB / 489.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.1744, allocations: 46.45 kB / 489.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.1744, allocations: 0 / 489.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.003257/0.1777, allocations: 1.632 MB / 490.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.1778, allocations: 132.5 kB / 491 MB, free: 11.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.1782, allocations: 217 kB / 491.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1782, allocations: 33.7 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1784, allocations: 176.2 kB / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1785, allocations: 118.3 kB / 491.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.1785, allocations: 8 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1787, allocations: 338.8 kB / 491.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.179, allocations: 108.8 kB / 492 MB, free: 10.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.1794, allocations: 257.5 kB / 492.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.1798, allocations: 147.8 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1798, allocations: 0 / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009038/0.1807, allocations: 418 kB / 492.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.1807, allocations: 16.02 kB / 492.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.1808, allocations: 4 kB / 492.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/0.1808, allocations: 8 kB / 492.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.1812, allocations: 103.8 kB / 492.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.1813, allocations: 4 kB / 492.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.1815, allocations: 35.98 kB / 493 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.1815, allocations: 20 kB / 493 MB, free: 9.855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002448/0.1818, allocations: 158.1 kB / 493.1 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.1819, allocations: 31.62 kB / 493.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.182, allocations: 33.7 kB / 493.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.182, allocations: 4 kB / 493.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.1821, allocations: 4 kB / 493.2 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1821, allocations: 0 / 493.2 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.1839, allocations: 1.009 MB / 494.2 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1839, allocations: 448 / 494.2 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.1843, allocations: 84.16 kB / 494.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.1843, allocations: 4 kB / 494.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1843, allocations: 12 kB / 494.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1843, allocations: 15.89 kB / 494.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1844, allocations: 4 kB / 494.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.1856, allocations: 0.7602 MB / 495.1 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.1857, allocations: 104.8 kB / 495.2 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.1857, allocations: 4.062 kB / 495.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.186, allocations: 31.94 kB / 495.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/0.1861, allocations: 23.97 kB / 495.3 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.1862, allocations: 15.98 kB / 495.3 MB, free: 7.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.1863, allocations: 152.5 kB / 495.4 MB, free: 7.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1863, allocations: 0 / 495.4 MB, free: 7.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.1868, allocations: 68 kB / 495.5 MB, free: 7.238 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001816/0.187, allocations: 111 kB / 495.6 MB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.1877, allocations: 299.8 kB / 495.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1877, allocations: 0 / 495.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.188, allocations: 144.4 kB / 496 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.1886, allocations: 37.11 kB / 496.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.1903, allocations: 1.099 MB / 497.2 MB, free: 5.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.1908, allocations: 0.7683 MB / 497.9 MB, free: 4.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.496e-05/0.1909, allocations: 35.42 kB / 498 MB, free: 4.668 MB / 366.1 MB Notification: Performance of SimCode: time 1.924e-06/0.1909, allocations: 0 / 498 MB, free: 4.668 MB / 366.1 MB Notification: Performance of Templates: time 0.005337/0.1962, allocations: 3.272 MB / 0.4895 GB, free: 1.398 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Rotational.TestSpeedCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.TestSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.TestSpeedCalcHelperMain.o] Error 1