Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 93.08 kB / 17.63 MB, free: 6.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 196.4 kB / 18.54 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 51.49 MB / 358.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003927/0.133, allocations: 3.005 MB / 361.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1349, allocations: 0.9079 MB / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.1351, allocations: 15.88 kB / 362.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1354, allocations: 71.47 kB / 362.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.1358, allocations: 139.1 kB / 362.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.1361, allocations: 123.8 kB / 363.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.1367, allocations: 0.5724 MB / 363.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.1369, allocations: 154.2 kB / 363.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.1372, allocations: 191.2 kB / 364 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.1375, allocations: 238.8 kB / 364.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.528e-05/0.1375, allocations: 28 kB / 364.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.28e-05/0.1376, allocations: 32 kB / 364.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/0.1377, allocations: 95.59 kB / 364.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1378, allocations: 125.4 kB / 364.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.1382, allocations: 478.8 kB / 364.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.1382, allocations: 0 / 364.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1382, allocations: 0 / 364.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1383, allocations: 0 / 364.9 MB, free: 7.957 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00133/0.1396, allocations: 0.7834 MB / 365.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1397, allocations: 8.031 kB / 365.7 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.1398, allocations: 63.25 kB / 365.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.1402, allocations: 346.5 kB / 366.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.1403, allocations: 37.31 kB / 366.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.1403, allocations: 55.94 kB / 366.2 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008294/0.1412, allocations: 442.5 kB / 366.7 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1412, allocations: 0 / 366.7 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.1412, allocations: 20 kB / 366.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1413, allocations: 12 kB / 366.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007997/0.1421, allocations: 409 kB / 367.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.1445, allocations: 1.597 MB / 368.7 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.1452, allocations: 413.3 kB / 369.1 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.1456, allocations: 181.5 kB / 369.3 MB, free: 3.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.1457, allocations: 8.312 kB / 369.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1457, allocations: 42.83 kB / 369.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.1457, allocations: 0 / 369.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.003149/0.1489, allocations: 1.277 MB / 370.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.1489, allocations: 59.91 kB / 370.6 MB, free: 1.984 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.1494, allocations: 409.5 kB / 371 MB, free: 1.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1494, allocations: 33.7 kB / 371.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.1497, allocations: 303.8 kB / 371.4 MB, free: 1.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.1498, allocations: 189.3 kB / 371.6 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1499, allocations: 12 kB / 371.6 MB, free: 1.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.15, allocations: 366.7 kB / 371.9 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.1505, allocations: 181.2 kB / 372.1 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.151, allocations: 311 kB / 372.4 MB, free: 148 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2801/0.4311, allocations: 221.5 kB / 372.6 MB, free: 19.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/0.4312, allocations: 1.531 kB / 372.6 MB, free: 19.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002596/0.4338, allocations: 0.7569 MB / 373.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.4339, allocations: 7.641 kB / 373.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.4339, allocations: 3.875 kB / 373.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/0.4347, allocations: 188.7 kB / 373.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.4353, allocations: 117.1 kB / 373.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004646/0.4399, allocations: 3.863 MB / 377.6 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.4404, allocations: 40.08 kB / 377.6 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.4405, allocations: 22.67 kB / 377.6 MB, free: 16.46 MB / 302.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 (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002722/0.4407, allocations: 183.4 kB / 377.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.4408, allocations: 53.56 kB / 377.9 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.441, allocations: 61.48 kB / 377.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.441, allocations: 9.438 kB / 377.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/0.441, allocations: 4.062 kB / 377.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.441, allocations: 3.203 kB / 377.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.4435, allocations: 1.328 MB / 379.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4435, allocations: 1.375 kB / 379.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.4439, allocations: 78.62 kB / 379.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/0.4443, allocations: 155.4 kB / 379.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.4443, allocations: 11.81 kB / 379.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.4477, allocations: 3.695 MB / 383.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4477, allocations: 2.328 kB / 383.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.4491, allocations: 0.7295 MB / 383.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4492, allocations: 118.1 kB / 384 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.4492, allocations: 11.8 kB / 384.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.4495, allocations: 28.7 kB / 384.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.4497, allocations: 49.73 kB / 384.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.4497, allocations: 16.25 kB / 384.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004329/0.4501, allocations: 282.7 kB / 384.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4502, allocations: 0 / 384.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009359/0.4511, allocations: 154 kB / 384.6 MB, free: 11.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002119/0.4513, allocations: 110.7 kB / 384.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.453, allocations: 0.7935 MB / 385.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4531, allocations: 0 / 385.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008634/0.4539, allocations: 0.5358 MB / 386 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.4545, allocations: 47.06 kB / 386.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.4567, allocations: 1.183 MB / 387.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.4573, allocations: 0.8653 MB / 388.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.4574, allocations: 32.81 kB / 388.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4574, allocations: 1 kB / 388.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of Templates: time 0.01805/0.4755, allocations: 9.781 MB / 397.9 MB, free: 5.277 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.BasicExamples.QuadraticCoreAirgapCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.o] Error 1