Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 87.89 kB / 16.95 MB, free: 5.672 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.001083/0.001083, allocations: 179.1 kB / 17.85 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 241.9 MB, free: 292 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002654, allocations: 4 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1186, allocations: 50.41 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005321/0.124, allocations: 4.295 MB / 356.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003762/0.1278, allocations: 1.873 MB / 358 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.1281, allocations: 16 kB / 358.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.1287, allocations: 230.9 kB / 358.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.1299, allocations: 465 kB / 358.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.1316, allocations: 0.8708 MB / 359.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008517/0.1324, allocations: 0.6732 MB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.1344, allocations: 1.129 MB / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.1348, allocations: 270.9 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.1353, allocations: 366.5 kB / 362 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.1353, allocations: 36 kB / 362.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008274/0.1362, allocations: 339.6 kB / 362.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1363, allocations: 123.5 kB / 362.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1364, allocations: 149.4 kB / 362.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008871/0.1373, allocations: 0.8806 MB / 363.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1373, allocations: 4 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1373, allocations: 0 / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1374, allocations: 4 kB / 363.6 MB, free: 8.254 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003644/0.141, allocations: 1.333 MB / 364.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1411, allocations: 12.03 kB / 364.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.1434, allocations: 386.7 kB / 365.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.1437, allocations: 247.8 kB / 365.5 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/0.1438, allocations: 62 kB / 365.6 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.1439, allocations: 87.94 kB / 365.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.1456, allocations: 0.8875 MB / 366.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.1456, allocations: 0 / 366.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.1457, allocations: 36 kB / 366.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.1458, allocations: 23.94 kB / 366.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.1478, allocations: 0.8277 MB / 367.4 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004898/0.1527, allocations: 2.965 MB / 370.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2692/0.4218, allocations: 1.004 MB / 371.4 MB, free: 23.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009452/0.4228, allocations: 245.2 kB / 371.6 MB, free: 23.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.423, allocations: 99.11 kB / 371.7 MB, free: 23.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.423, allocations: 39.3 kB / 371.8 MB, free: 23.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.386e-06/0.423, allocations: 1.531 kB / 371.8 MB, free: 23.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008377/0.4314, allocations: 2.684 MB / 374.5 MB, free: 23.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.4315, allocations: 90.53 kB / 374.6 MB, free: 22.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.432, allocations: 299.6 kB / 374.9 MB, free: 22.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.432, allocations: 37.2 kB / 374.9 MB, free: 22.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.4323, allocations: 363.8 kB / 375.2 MB, free: 22.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.4325, allocations: 212.5 kB / 375.4 MB, free: 22.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.4325, allocations: 16.12 kB / 375.5 MB, free: 22.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4327, allocations: 351.3 kB / 375.8 MB, free: 22.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008082/0.4335, allocations: 289.8 kB / 376.1 MB, free: 22.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/0.4344, allocations: 0.532 MB / 376.6 MB, free: 21.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.4353, allocations: 359.7 kB / 377 MB, free: 21.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4353, allocations: 1.375 kB / 377 MB, free: 21.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002159/0.4374, allocations: 0.9445 MB / 377.9 MB, free: 21.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4375, allocations: 8.125 kB / 377.9 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.4375, allocations: 7.875 kB / 377.9 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/0.4378, allocations: 73.25 kB / 378 MB, free: 21.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.4387, allocations: 209.7 kB / 378.2 MB, free: 21.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.4402, allocations: 2.665 MB / 380.9 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.4408, allocations: 81.48 kB / 381 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.4409, allocations: 41.41 kB / 381 MB, free: 18.62 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003297/0.4413, allocations: 214.8 kB / 381.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.4413, allocations: 39.95 kB / 381.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.4434, allocations: 0.7918 MB / 382 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4434, allocations: 6.219 kB / 382 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4434, allocations: 1.062 kB / 382 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.4434, allocations: 4.812 kB / 382.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.4464, allocations: 1.461 MB / 383.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4464, allocations: 0.9375 kB / 383.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/0.4471, allocations: 150.6 kB / 383.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.4473, allocations: 58.48 kB / 383.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.4473, allocations: 20.23 kB / 383.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.4488, allocations: 2.649 MB / 386.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4488, allocations: 0 / 386.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.4514, allocations: 1.156 MB / 387.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.4517, allocations: 162.1 kB / 387.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.4518, allocations: 13.44 kB / 387.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.4523, allocations: 57.83 kB / 387.8 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.4524, allocations: 47.22 kB / 387.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.4525, allocations: 20.25 kB / 387.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.4527, allocations: 207.4 kB / 388 MB, free: 13.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4527, allocations: 0 / 388 MB, free: 13.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008923/0.4536, allocations: 173.3 kB / 388.2 MB, free: 13.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002977/0.4539, allocations: 161 kB / 388.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.4562, allocations: 0.9607 MB / 389.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4562, allocations: 0 / 389.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.4572, allocations: 0.5776 MB / 389.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.4576, allocations: 48.83 kB / 390 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.4607, allocations: 1.579 MB / 391.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.4611, allocations: 0.8796 MB / 392.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.4614, allocations: 62.72 kB / 392.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4614, allocations: 4 kB / 392.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01591/0.4773, allocations: 13.03 MB / 405.5 MB, free: 2.301 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.o] Error 1