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.00164/0.00164, allocations: 98.67 kB / 17.96 MB, free: 5.637 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.00221/0.00221, allocations: 173 kB / 18.86 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 225 MB, free: 13.07 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.0006077/0.0006079, allocations: 12 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.131, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00265/0.1337, allocations: 1.714 MB / 331.3 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.135, allocations: 0.5932 MB / 331.9 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1352, allocations: 4 kB / 331.9 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.416e-05/0.1353, allocations: 11.86 kB / 331.9 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.1356, allocations: 35.75 kB / 332 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.1361, allocations: 87.84 kB / 332.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.1364, allocations: 167.3 kB / 332.2 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.1367, allocations: 45.45 kB / 332.3 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.137, allocations: 67.7 kB / 332.3 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.1372, allocations: 75.61 kB / 332.4 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.1373, allocations: 8 kB / 332.4 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.307e-05/0.1374, allocations: 12 kB / 332.4 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.1374, allocations: 23.86 kB / 332.4 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1376, allocations: 93.3 kB / 332.5 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1378, allocations: 135.9 kB / 332.7 MB, free: 0.668 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1379, allocations: 0 / 332.7 MB, free: 0.668 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1379, allocations: 0 / 332.7 MB, free: 0.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1379, allocations: 0 / 332.7 MB, free: 0.668 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.001165/0.1391, allocations: 450.9 kB / 333.1 MB, free: 184 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/0.1391, allocations: 8.031 kB / 333.1 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1393, allocations: 12.84 kB / 333.1 MB, free: 164 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1396, allocations: 196.1 kB / 333.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1396, allocations: 4.375 kB / 333.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.1397, allocations: 16.31 kB / 333.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.1401, allocations: 152.4 kB / 333.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.1401, allocations: 7.984 kB / 333.5 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1402, allocations: 8 kB / 333.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1402, allocations: 0 / 333.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.1405, allocations: 99.94 kB / 333.6 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1416, allocations: 0.5032 MB / 334.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.142, allocations: 114.4 kB / 334.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.1422, allocations: 68.83 kB / 334.3 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1422, allocations: 0 / 334.3 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.1423, allocations: 42.5 kB / 334.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.1423, allocations: 0 / 334.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005457/0.1428, allocations: 161.5 kB / 334.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.1429, allocations: 102.8 kB / 334.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1431, allocations: 166 kB / 334.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.1432, allocations: 29.7 kB / 334.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1433, allocations: 119.8 kB / 334.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1433, allocations: 27.64 kB / 334.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1434, allocations: 13.72 kB / 334.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1435, allocations: 322.8 kB / 335.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1437, allocations: 43.91 kB / 335.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.1439, allocations: 80.27 kB / 335.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.1442, allocations: 106.5 kB / 335.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1442, allocations: 0 / 335.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003818/0.1446, allocations: 157.5 kB / 335.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1446, allocations: 7.938 kB / 335.6 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1446, allocations: 0 / 335.6 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1446, allocations: 4 kB / 335.6 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.1452, allocations: 79.92 kB / 335.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.1468, allocations: 1.405 MB / 337.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.147, allocations: 20.2 kB / 337.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.147, allocations: 4 kB / 337.1 MB, free: 11.77 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.0001509/0.1472, allocations: 129.8 kB / 337.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.1472, allocations: 11.81 kB / 337.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.1477, allocations: 159.1 kB / 337.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1477, allocations: 0 / 337.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.1478, allocations: 0 / 337.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1478, allocations: 3.984 kB / 337.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000828/0.1486, allocations: 472 kB / 337.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1486, allocations: 0 / 337.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1488, allocations: 32.02 kB / 337.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/0.1491, allocations: 44.78 kB / 338 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1491, allocations: 4 kB / 338 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.1503, allocations: 1.296 MB / 339.3 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1503, allocations: 0 / 339.3 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.151, allocations: 305.7 kB / 339.6 MB, free: 9.102 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.1511, allocations: 88.95 kB / 339.7 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1511, allocations: 4 kB / 339.7 MB, free: 8.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1512, allocations: 15.98 kB / 339.7 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.1513, allocations: 7.984 kB / 339.7 MB, free: 8.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.1513, allocations: 7.938 kB / 339.7 MB, free: 8.961 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.74e-05/0.1514, allocations: 123.3 kB / 339.8 MB, free: 8.84 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1514, allocations: 3.938 kB / 339.8 MB, free: 8.836 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.1518, allocations: 39.88 kB / 339.9 MB, free: 8.797 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.0001459/0.1519, allocations: 103.2 kB / 340 MB, free: 8.688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006895/0.1526, allocations: 147.9 kB / 340.1 MB, free: 8.543 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1526, allocations: 0 / 340.1 MB, free: 8.543 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.153, allocations: 170.7 kB / 340.3 MB, free: 8.363 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1532, allocations: 8 kB / 340.3 MB, free: 8.355 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.1549, allocations: 0.6436 MB / 340.9 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1553, allocations: 0.7121 MB / 341.6 MB, free: 6.941 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.1553, allocations: 15.44 kB / 341.7 MB, free: 6.926 MB / 286.1 MB Notification: Performance of SimCode: time 2.565e-06/0.1553, allocations: 0 / 341.7 MB, free: 6.926 MB / 286.1 MB Notification: Performance of Templates: time 0.005257/0.1606, allocations: 2.188 MB / 343.8 MB, free: 4.734 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