Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009595/0.0009594, allocations: 93.36 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 191.4 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.677/1.677, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003029, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003387/0.1394, allocations: 2.413 MB / 361.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1415, allocations: 1.189 MB / 362.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.1417, allocations: 4 kB / 362.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.1419, allocations: 47.62 kB / 362.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.1424, allocations: 187 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.1427, allocations: 91.89 kB / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.1431, allocations: 403 kB / 363.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.1433, allocations: 72.08 kB / 363.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.1435, allocations: 159.5 kB / 363.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.1438, allocations: 191.3 kB / 363.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.1439, allocations: 24 kB / 363.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.1442, allocations: 151.8 kB / 363.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.289e-05/0.1443, allocations: 79.7 kB / 363.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.1444, allocations: 77.58 kB / 363.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.1448, allocations: 367.2 kB / 364.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1449, allocations: 3.938 kB / 364.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1449, allocations: 0 / 364.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.128e-06/0.1449, allocations: 0 / 364.2 MB, free: 8.676 MB / 302.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.001559/0.1464, allocations: 0.6586 MB / 364.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1465, allocations: 8.031 kB / 364.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.1467, allocations: 51.52 kB / 364.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.1472, allocations: 316.2 kB / 365.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/0.1472, allocations: 54.22 kB / 365.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.1474, allocations: 43.83 kB / 365.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.148, allocations: 320.5 kB / 365.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1481, allocations: 4 kB / 365.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.1481, allocations: 12 kB / 365.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1481, allocations: 4 kB / 365.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.1488, allocations: 314 kB / 366 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.1506, allocations: 1.16 MB / 367.1 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.1512, allocations: 309 kB / 367.4 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.1516, allocations: 177.5 kB / 367.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.1516, allocations: 7.984 kB / 367.6 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1516, allocations: 34.56 kB / 367.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.1516, allocations: 0 / 367.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.008985/0.1606, allocations: 2.537 MB / 370.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.1607, allocations: 85.05 kB / 370.3 MB, free: 2.297 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.1611, allocations: 289 kB / 370.6 MB, free: 2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.1612, allocations: 29.7 kB / 370.6 MB, free: 1.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1613, allocations: 172.3 kB / 370.8 MB, free: 1.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1614, allocations: 141.9 kB / 370.9 MB, free: 1.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1615, allocations: 8 kB / 370.9 MB, free: 1.645 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1616, allocations: 346.8 kB / 371.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.162, allocations: 168.8 kB / 371.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.1624, allocations: 242.6 kB / 371.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.1629, allocations: 185.6 kB / 371.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1629, allocations: 7.938 kB / 371.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009858/0.1639, allocations: 0.4969 MB / 372.3 MB, free: 188 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1639, allocations: 7.984 kB / 372.3 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1639, allocations: 4 kB / 372.3 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.164, allocations: 4 kB / 372.3 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.1645, allocations: 119.9 kB / 372.5 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1646, allocations: 7.969 kB / 372.5 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.1649, allocations: 35.98 kB / 372.5 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2449/0.4098, allocations: 14.03 kB / 372.5 MB, free: 19.67 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003131/0.4102, allocations: 150.8 kB / 372.7 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.4104, allocations: 28.38 kB / 372.7 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/0.4126, allocations: 0.6908 MB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.4126, allocations: 5.766 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.4126, allocations: 1.156 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.4126, allocations: 3.125 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/0.4162, allocations: 1.323 MB / 374.7 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4162, allocations: 0.875 kB / 374.7 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.4167, allocations: 95.98 kB / 374.8 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.4185, allocations: 285.1 kB / 375.1 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.4185, allocations: 15.66 kB / 375.1 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/0.4223, allocations: 2.281 MB / 377.4 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4224, allocations: 1.375 kB / 377.4 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.4246, allocations: 1.044 MB / 378.4 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.4248, allocations: 146.4 kB / 378.6 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.4249, allocations: 15.83 kB / 378.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.4253, allocations: 28.39 kB / 378.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.4254, allocations: 36.67 kB / 378.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.4255, allocations: 15.39 kB / 378.7 MB, free: 17.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.4257, allocations: 212 kB / 378.9 MB, free: 16.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4257, allocations: 0 / 378.9 MB, free: 16.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00062/0.4264, allocations: 116.4 kB / 379 MB, free: 16.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002889/0.4266, allocations: 145.7 kB / 379.1 MB, free: 16.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009908/0.4276, allocations: 449 kB / 379.6 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4277, allocations: 4.312 kB / 379.6 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007006/0.4284, allocations: 385.4 kB / 380 MB, free: 16.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.4289, allocations: 49.58 kB / 380 MB, free: 16.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.4308, allocations: 1.237 MB / 381.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.4312, allocations: 0.786 MB / 382 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.4313, allocations: 36.39 kB / 382.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4313, allocations: 1 kB / 382.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of Templates: time 0.01221/0.4435, allocations: 5.672 MB / 387.7 MB, free: 13.46 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresisCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresisCalcHelperMain.o] Error 1