Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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) 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(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001774/0.001774, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.913/1.913, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.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.001297/0.001297, allocations: 51.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1466, allocations: 46.62 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.004211/0.1509, allocations: 2.068 MB / 329.3 MB, free: 2.816 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1522, allocations: 0.5931 MB / 329.9 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.1523, allocations: 0 / 329.9 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.223e-05/0.1524, allocations: 15.84 kB / 329.9 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1526, allocations: 43.69 kB / 330 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.1531, allocations: 79.89 kB / 330 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.1533, allocations: 183.2 kB / 330.2 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1535, allocations: 33.48 kB / 330.3 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.1537, allocations: 75.64 kB / 330.3 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1538, allocations: 75.73 kB / 330.4 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.1539, allocations: 8 kB / 330.4 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.532e-05/0.1539, allocations: 15.94 kB / 330.4 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.154, allocations: 23.91 kB / 330.4 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.1541, allocations: 75.59 kB / 330.5 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1542, allocations: 131.9 kB / 330.6 MB, free: 1.465 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1542, allocations: 0 / 330.6 MB, free: 1.465 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1543, allocations: 0 / 330.6 MB, free: 1.465 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1543, allocations: 0 / 330.6 MB, free: 1.465 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009346/0.1552, allocations: 474.8 kB / 331.1 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1553, allocations: 11.97 kB / 331.1 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.1553, allocations: 12.84 kB / 331.1 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1556, allocations: 207.8 kB / 331.3 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1556, allocations: 8.375 kB / 331.3 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.1556, allocations: 12.38 kB / 331.4 MB, free: 0.668 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.156, allocations: 152.4 kB / 331.5 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.156, allocations: 0 / 331.5 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.156, allocations: 8 kB / 331.5 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.156, allocations: 0 / 331.5 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.1563, allocations: 95.88 kB / 331.6 MB, free: 412 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1573, allocations: 0.5071 MB / 332.1 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.1576, allocations: 106.5 kB / 332.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.1579, allocations: 60.83 kB / 332.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.1579, allocations: 12 kB / 332.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.1579, allocations: 38.44 kB / 332.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.158, allocations: 0 / 332.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.000521/0.1585, allocations: 145.6 kB / 332.5 MB, free: 15.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.1586, allocations: 110.8 kB / 332.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.1588, allocations: 166 kB / 332.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1588, allocations: 25.7 kB / 332.8 MB, free: 15.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.1589, allocations: 115.9 kB / 332.9 MB, free: 15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.159, allocations: 31.55 kB / 332.9 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.159, allocations: 29.7 kB / 332.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1592, allocations: 322.8 kB / 333.3 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1593, allocations: 43.97 kB / 333.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.1595, allocations: 72.27 kB / 333.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.1598, allocations: 98.52 kB / 333.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1598, allocations: 4 kB / 333.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003295/0.1601, allocations: 137.5 kB / 333.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1601, allocations: 11.94 kB / 333.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1602, allocations: 4.031 kB / 333.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1602, allocations: 3.984 kB / 333.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/0.1608, allocations: 83.86 kB / 333.7 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.1625, allocations: 1.409 MB / 335.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.1627, allocations: 20.2 kB / 335.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1627, allocations: 0 / 335.1 MB, free: 12.56 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.1628, allocations: 125.8 kB / 335.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.1629, allocations: 15.8 kB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000484/0.1633, allocations: 159.1 kB / 335.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1634, allocations: 0 / 335.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1634, allocations: 4 kB / 335.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1634, allocations: 0 / 335.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009064/0.1643, allocations: 475.9 kB / 335.9 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1643, allocations: 3.938 kB / 335.9 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1645, allocations: 19.98 kB / 335.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003006/0.1648, allocations: 44.75 kB / 336 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1648, allocations: 32 / 336 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.1661, allocations: 1.296 MB / 337.3 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1661, allocations: 4.578 kB / 337.3 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.1667, allocations: 289 kB / 337.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.1668, allocations: 93.03 kB / 337.6 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1668, allocations: 4 kB / 337.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.167, allocations: 11.98 kB / 337.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.1671, allocations: 11.98 kB / 337.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1671, allocations: 4.062 kB / 337.7 MB, free: 9.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1672, allocations: 119.2 kB / 337.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1672, allocations: 0 / 337.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.1675, allocations: 47.78 kB / 337.8 MB, free: 9.605 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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 (7): * Single equations (assignments): 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001731/0.1677, allocations: 103.2 kB / 337.9 MB, free: 9.496 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007178/0.1684, allocations: 135.9 kB / 338.1 MB, free: 9.363 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1685, allocations: 0 / 338.1 MB, free: 9.363 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.1688, allocations: 158.7 kB / 338.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.1691, allocations: 12.06 kB / 338.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.171, allocations: 0.6064 MB / 338.8 MB, free: 8.543 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.1715, allocations: 0.7199 MB / 339.6 MB, free: 7.797 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.1716, allocations: 15.42 kB / 339.6 MB, free: 7.781 MB / 286.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1716, allocations: 0 / 339.6 MB, free: 7.781 MB / 286.1 MB Notification: Performance of Templates: time 0.005198/0.1768, allocations: 2.197 MB / 341.8 MB, free: 5.582 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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 OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductorCalcHelperMain.o] Error 1