Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 105.1 kB / 16.52 MB, free: 6.266 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.001589/0.001589, allocations: 198.8 kB / 17.44 MB, free: 5.887 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.921/1.921, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2723/0.2723, allocations: 43.52 MB / 314.2 MB, free: 0.7539 MB / 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.001508/0.001508, allocations: 66.98 kB / 382.7 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.145, allocations: 57.79 MB / 440.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.00459/0.1496, allocations: 3.452 MB / 443.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.151, allocations: 0.8266 MB / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.1512, allocations: 8 kB / 444.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.1515, allocations: 55.55 kB / 444.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.1518, allocations: 103.1 kB / 444.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.1522, allocations: 107.9 kB / 445 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.1526, allocations: 0.4984 MB / 445.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.153, allocations: 210.9 kB / 445.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.1532, allocations: 191.3 kB / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.1534, allocations: 226.9 kB / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.864e-05/0.1535, allocations: 36 kB / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.276e-05/0.1536, allocations: 36 kB / 446.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.1537, allocations: 95.61 kB / 446.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.1539, allocations: 226.9 kB / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.1543, allocations: 434.8 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.1543, allocations: 4 kB / 446.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1543, allocations: 0 / 446.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1543, allocations: 0 / 446.9 MB, free: 0.957 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001321/0.1556, allocations: 0.7603 MB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.1557, allocations: 8.031 kB / 447.7 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1559, allocations: 56.38 kB / 447.8 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.1564, allocations: 317.3 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/0.1565, allocations: 37.38 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.1566, allocations: 48.38 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1578, allocations: 471.2 kB / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1579, allocations: 0 / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.1579, allocations: 23.94 kB / 448.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.158, allocations: 12 kB / 448.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.159, allocations: 327.8 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.1625, allocations: 1.682 MB / 450.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.1633, allocations: 237 kB / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.1637, allocations: 133.7 kB / 451 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1638, allocations: 4 kB / 451 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.1638, allocations: 42.5 kB / 451.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.1639, allocations: 0 / 451.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004157/0.168, allocations: 1.337 MB / 452.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.1682, allocations: 88.95 kB / 452.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.1686, allocations: 262.6 kB / 452.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.1687, allocations: 33.7 kB / 452.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.1691, allocations: 255.4 kB / 453 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.1693, allocations: 122.2 kB / 453.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.1695, allocations: 78.12 kB / 453.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003/0.1698, allocations: 338.8 kB / 453.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.1702, allocations: 104.8 kB / 453.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.1707, allocations: 216.3 kB / 453.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009096/0.1716, allocations: 346.9 kB / 454.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.1717, allocations: 4 kB / 454.2 MB, free: 9.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001184/0.1728, allocations: 410.6 kB / 454.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.1729, allocations: 8 kB / 454.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.1729, allocations: 3.938 kB / 454.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/0.1731, allocations: 32.78 kB / 454.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.1738, allocations: 119.8 kB / 454.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.1756, allocations: 1.347 MB / 456.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.176, allocations: 16 kB / 456.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.176, allocations: 16.05 kB / 456.1 MB, free: 7.086 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002777/0.1763, allocations: 169.9 kB / 456.3 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.1765, allocations: 35.56 kB / 456.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.042e-05/0.1766, allocations: 34.17 kB / 456.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1766, allocations: 4 kB / 456.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.1766, allocations: 4 kB / 456.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1766, allocations: 0 / 456.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.1782, allocations: 0.7193 MB / 457.1 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1782, allocations: 0 / 457.1 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.1787, allocations: 87.88 kB / 457.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.1789, allocations: 28.91 kB / 457.2 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.1789, allocations: 12 kB / 457.2 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.1804, allocations: 1.331 MB / 458.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.1804, allocations: 4.062 kB / 458.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.1819, allocations: 0.6083 MB / 459.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.1821, allocations: 124.8 kB / 459.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.1821, allocations: 8 kB / 459.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.1825, allocations: 15.98 kB / 459.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.1826, allocations: 27.91 kB / 459.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.1827, allocations: 15.98 kB / 459.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002895/0.183, allocations: 182 kB / 459.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.183, allocations: 0 / 459.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000683/0.1837, allocations: 92 kB / 459.6 MB, free: 3.348 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001962/0.1839, allocations: 119.1 kB / 459.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.1851, allocations: 406.5 kB / 460.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.1851, allocations: 4 kB / 460.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.1856, allocations: 254.4 kB / 460.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.1864, allocations: 49.05 kB / 460.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.1886, allocations: 1.135 MB / 461.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.1891, allocations: 0.8074 MB / 462.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.1892, allocations: 39.42 kB / 462.4 MB, free: 468 kB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1892, allocations: 0 / 462.4 MB, free: 468 kB / 334.1 MB Notification: Performance of Templates: time 0.01179/0.201, allocations: 5.892 MB / 468.3 MB, free: 10.57 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.FluxTubes.BasicComponentsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponentsCalcHelperMain.o] Error 1