Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction") translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 88.69 kB / 16.66 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 182.2 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2798/0.2798, allocations: 43.59 MB / 315.6 MB, free: 436 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006292, allocations: 17.42 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1597, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.003918/0.1637, allocations: 3.611 MB / 447.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.1661, allocations: 1.216 MB / 448.9 MB, free: 324 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.1665, allocations: 23.88 kB / 448.9 MB, free: 300 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.1667, allocations: 87.22 kB / 449 MB, free: 212 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005492/0.1673, allocations: 142.3 kB / 449.2 MB, free: 72 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007985/0.1681, allocations: 363.6 kB / 449.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009002/0.169, allocations: 0.7992 MB / 450.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005118/0.1695, allocations: 252.4 kB / 450.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.1699, allocations: 254.5 kB / 450.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.1703, allocations: 274.2 kB / 451.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.1704, allocations: 24 kB / 451.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.856e-05/0.1705, allocations: 24 kB / 451.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1706, allocations: 107.4 kB / 451.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.1709, allocations: 315.6 kB / 451.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.1714, allocations: 0.5493 MB / 452.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1715, allocations: 0 / 452.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1715, allocations: 0 / 452.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1715, allocations: 0 / 452.1 MB, free: 13.11 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001759/0.1732, allocations: 0.9426 MB / 453 MB, free: 12.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1733, allocations: 15.97 kB / 453.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.1735, allocations: 87.91 kB / 453.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007896/0.1743, allocations: 0.4994 MB / 453.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.1743, allocations: 49.69 kB / 453.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.1744, allocations: 64.28 kB / 453.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.1756, allocations: 0.627 MB / 454.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.1757, allocations: 3.984 kB / 454.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.1757, allocations: 24 kB / 454.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.1758, allocations: 15.94 kB / 454.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008547/0.1766, allocations: 402.2 kB / 454.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004445/0.1811, allocations: 3.036 MB / 457.8 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1822, allocations: 477 kB / 458.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.1826, allocations: 181.6 kB / 458.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/0.1827, allocations: 7.984 kB / 458.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.1827, allocations: 46.53 kB / 458.5 MB, free: 6.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 3.807e-06/0.1827, allocations: 4 kB / 458.5 MB, free: 6.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.001512/0.1843, allocations: 0.5598 MB / 459.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/0.1844, allocations: 118.7 kB / 459.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006674/0.185, allocations: 0.5469 MB / 459.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.1851, allocations: 33.7 kB / 459.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.1854, allocations: 368.1 kB / 460.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.1856, allocations: 161.7 kB / 460.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-05/0.1857, allocations: 57.69 kB / 460.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.1859, allocations: 382.8 kB / 460.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.1864, allocations: 189.2 kB / 460.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.1871, allocations: 409 kB / 461.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.1882, allocations: 0.587 MB / 461.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.1882, allocations: 4 kB / 461.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001284/0.1895, allocations: 0.6767 MB / 462.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002333/0.1897, allocations: 290.2 kB / 462.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.1898, allocations: 4 kB / 462.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.1898, allocations: 12 kB / 462.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.1904, allocations: 147.8 kB / 463 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.1904, allocations: 8 kB / 463.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.1908, allocations: 83.34 kB / 463.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.1909, allocations: 31.98 kB / 463.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.1909, allocations: 4 kB / 463.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009812/0.1919, allocations: 0.5463 MB / 463.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1919, allocations: 4.688 kB / 463.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1919, allocations: 12 kB / 463.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.1924, allocations: 143.8 kB / 463.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.1924, allocations: 15.94 kB / 463.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.1927, allocations: 63.42 kB / 464 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.1928, allocations: 28 kB / 464 MB, free: 0.5469 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 (Asec.local_reset,Vsec.local_reset,Wsec.local_reset,PID1.I.local_reset,PID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0003519/0.1931, allocations: 288.8 kB / 464.3 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.1933, allocations: 63.25 kB / 464.3 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.1935, allocations: 70.17 kB / 464.4 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1935, allocations: 4 kB / 464.4 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1935, allocations: 0 / 464.4 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1935, allocations: 7.938 kB / 464.4 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.1944, allocations: 0.5751 MB / 465 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1944, allocations: 4 kB / 465 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.1949, allocations: 95.88 kB / 465.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.195, allocations: 4 kB / 465.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.195, allocations: 8 kB / 465.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.195, allocations: 0 / 465.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.195, allocations: 7.875 kB / 465.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.1964, allocations: 0.8117 MB / 465.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.1966, allocations: 172.3 kB / 466.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.1967, allocations: 12 kB / 466.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.197, allocations: 35.97 kB / 466.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.1971, allocations: 31.89 kB / 466.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.1972, allocations: 8 kB / 466.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004372/0.1976, allocations: 375.1 kB / 466.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1976, allocations: 0 / 466.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008533/0.1985, allocations: 243.2 kB / 466.8 MB, free: 13.67 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (Wsec.y,Vsec.y,Asec.y,integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x) * 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 (39): * Single equations (assignments): 39 * 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.0001555/0.1986, allocations: 111.2 kB / 466.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.2001, allocations: 0.7535 MB / 467.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.2001, allocations: 0 / 467.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.2005, allocations: 203.7 kB / 467.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.2017, allocations: 162.9 kB / 468 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.2052, allocations: 1.794 MB / 469.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009171/0.2061, allocations: 0.9068 MB / 470.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.2063, allocations: 47.44 kB / 470.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2063, allocations: 4 kB / 470.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of Templates: time 0.01756/0.2239, allocations: 7.639 MB / 478.4 MB, free: 2.012 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.o] Error 1