Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 110.3 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.00189/0.00189, 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 2.088/2.088, 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.001293/0.001293, allocations: 47.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1662, allocations: 46.63 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00661/0.1729, allocations: 2.804 MB / 330.1 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.1765, allocations: 1.286 MB / 331.4 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.177, allocations: 11.88 kB / 331.4 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.1775, allocations: 55.61 kB / 331.4 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008045/0.1783, allocations: 187 kB / 331.6 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.1787, allocations: 107.8 kB / 331.7 MB, free: 412 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005737/0.1793, allocations: 431.1 kB / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.1795, allocations: 69.31 kB / 332.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.1799, allocations: 171.3 kB / 332.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.1802, allocations: 211.2 kB / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.1803, allocations: 24 kB / 332.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.1806, allocations: 151.8 kB / 332.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.84e-05/0.1807, allocations: 75.7 kB / 332.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.1809, allocations: 163.2 kB / 333 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.1814, allocations: 387 kB / 333.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1815, allocations: 0 / 333.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1815, allocations: 0 / 333.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1815, allocations: 0 / 333.3 MB, free: 14.76 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001871/0.1834, allocations: 0.7016 MB / 334.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.1834, allocations: 8.031 kB / 334.1 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1836, allocations: 40.56 kB / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.1841, allocations: 329 kB / 334.4 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/0.1842, allocations: 54.77 kB / 334.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.1844, allocations: 44.48 kB / 334.5 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.185, allocations: 316.5 kB / 334.8 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.185, allocations: 0 / 334.8 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.1851, allocations: 12 kB / 334.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1851, allocations: 7.984 kB / 334.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.1858, allocations: 310 kB / 335.1 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.1877, allocations: 1.171 MB / 336.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.1884, allocations: 289.7 kB / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.1887, allocations: 157.7 kB / 336.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.1888, allocations: 11.98 kB / 336.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1888, allocations: 34.56 kB / 336.8 MB, free: 11.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 3.236e-06/0.1888, allocations: 0 / 336.8 MB, free: 11.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.01006/0.1989, allocations: 2.417 MB / 339.2 MB, free: 8.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.199, allocations: 85.11 kB / 339.3 MB, free: 8.488 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.1994, allocations: 284.9 kB / 339.6 MB, free: 8.195 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.1995, allocations: 37.7 kB / 339.6 MB, free: 8.152 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1996, allocations: 168.4 kB / 339.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.1998, allocations: 141.9 kB / 339.9 MB, free: 7.844 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.2, allocations: 90 kB / 340 MB, free: 7.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.2002, allocations: 338.8 kB / 340.3 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.2006, allocations: 164.8 kB / 340.5 MB, free: 7.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.201, allocations: 226.7 kB / 340.7 MB, free: 7.008 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.2019, allocations: 415.5 kB / 341.1 MB, free: 6.582 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2019, allocations: 0 / 341.1 MB, free: 6.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001067/0.203, allocations: 476.6 kB / 341.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.203, allocations: 8 kB / 341.6 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.203, allocations: 0 / 341.6 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.203, allocations: 4 kB / 341.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.2037, allocations: 128 kB / 341.7 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2037, allocations: 4 kB / 341.7 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.2041, allocations: 31.92 kB / 341.8 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.2042, allocations: 19.98 kB / 341.8 MB, free: 5.918 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002057/0.2044, allocations: 153.7 kB / 341.9 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2045, allocations: 27.62 kB / 342 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.2064, allocations: 0.6564 MB / 342.6 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.2064, allocations: 4 kB / 342.6 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2064, allocations: 0 / 342.6 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2064, allocations: 3.984 kB / 342.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.2101, allocations: 1.287 MB / 343.9 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2101, allocations: 0 / 343.9 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.2106, allocations: 91.88 kB / 344 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.2123, allocations: 260.6 kB / 344.3 MB, free: 3.363 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.2124, allocations: 12 kB / 344.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/0.2164, allocations: 2.221 MB / 346.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.2165, allocations: 96 / 346.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.2189, allocations: 1.01 MB / 347.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.2192, allocations: 152.6 kB / 347.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.2193, allocations: 15.98 kB / 347.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.2198, allocations: 23.98 kB / 347.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.22, allocations: 40.38 kB / 347.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.22, allocations: 12 kB / 347.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.2203, allocations: 212.5 kB / 347.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2203, allocations: 0 / 347.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006634/0.221, allocations: 116 kB / 348.1 MB, free: 15.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * 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: 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003969/0.2214, allocations: 143.1 kB / 348.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.2225, allocations: 434 kB / 348.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2225, allocations: 0 / 348.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007991/0.2233, allocations: 385.4 kB / 349 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.224, allocations: 40.36 kB / 349 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.2261, allocations: 1.123 MB / 350.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.2266, allocations: 0.7932 MB / 351 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.2268, allocations: 43.41 kB / 351 MB, free: 12.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2268, allocations: 0 / 351 MB, free: 12.36 MB / 302.1 MB Notification: Performance of Templates: time 0.01031/0.2371, allocations: 5.704 MB / 356.7 MB, free: 6.648 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresisCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresisCalcHelperMain.o] Error 1