Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008478/0.0008477, allocations: 90.33 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009994/0.0009995, allocations: 197.4 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000241/0.000241, allocations: 8 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1424, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005239/0.1477, allocations: 4.297 MB / 363.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004128/0.1519, allocations: 1.943 MB / 365 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008275/0.1527, allocations: 16 kB / 365.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1539, allocations: 222.9 kB / 365.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.1555, allocations: 338.2 kB / 365.6 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.1578, allocations: 0.9881 MB / 366.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1592, allocations: 0.6768 MB / 367.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.1618, allocations: 1.133 MB / 368.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006575/0.1625, allocations: 274.9 kB / 368.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007239/0.1632, allocations: 358.6 kB / 369 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.1634, allocations: 36 kB / 369.1 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.1646, allocations: 363.6 kB / 369.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.1648, allocations: 119.5 kB / 369.5 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.1651, allocations: 153.3 kB / 369.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.1666, allocations: 0.9 MB / 370.6 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1666, allocations: 4 kB / 370.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1666, allocations: 0 / 370.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.842e-05/0.1667, allocations: 0 / 370.6 MB, free: 2.277 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.004606/0.1713, allocations: 1.346 MB / 371.9 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.1714, allocations: 16.03 kB / 372 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.1739, allocations: 386.7 kB / 372.3 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.1743, allocations: 254.8 kB / 372.6 MB, free: 196 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.203e-05/0.1744, allocations: 62 kB / 372.6 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.1746, allocations: 84 kB / 372.7 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3152/0.4898, allocations: 0.8742 MB / 373.6 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.4899, allocations: 4.547 kB / 373.6 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.49, allocations: 33.97 kB / 373.6 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/0.4901, allocations: 21.2 kB / 373.7 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.4927, allocations: 0.8245 MB / 374.5 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006423/0.4992, allocations: 3.047 MB / 377.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.5007, allocations: 1.011 MB / 378.5 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.5013, allocations: 251.2 kB / 378.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.5015, allocations: 174 kB / 379 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.5015, allocations: 40.66 kB / 379 MB, free: 16.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.837e-06/0.5015, allocations: 0 / 379 MB, free: 16.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.009292/0.5108, allocations: 2.693 MB / 381.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.5109, allocations: 85.11 kB / 381.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.5114, allocations: 307.6 kB / 382.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.5114, allocations: 35.64 kB / 382.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.5117, allocations: 356.2 kB / 382.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.5119, allocations: 214.8 kB / 382.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.5119, allocations: 15.91 kB / 382.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5121, allocations: 351.2 kB / 383 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008974/0.513, allocations: 294.5 kB / 383.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.514, allocations: 0.5259 MB / 383.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009882/0.515, allocations: 353.4 kB / 384.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5151, allocations: 2.375 kB / 384.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00259/0.5177, allocations: 0.9447 MB / 385.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.5177, allocations: 11.91 kB / 385.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.5177, allocations: 7.688 kB / 385.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.5181, allocations: 69.38 kB / 385.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.5191, allocations: 217.6 kB / 385.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.521, allocations: 2.663 MB / 388.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.5217, allocations: 73.61 kB / 388.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.5218, allocations: 39.91 kB / 388.2 MB, free: 10.09 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.000413/0.5222, allocations: 218.7 kB / 388.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.5224, allocations: 40.48 kB / 388.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.5248, allocations: 0.7841 MB / 389.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.5248, allocations: 10.88 kB / 389.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5248, allocations: 1.125 kB / 389.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5248, allocations: 3.422 kB / 389.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.5284, allocations: 1.472 MB / 390.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5284, allocations: 0 / 390.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007274/0.5292, allocations: 149.8 kB / 390.9 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.5294, allocations: 54.48 kB / 390.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.5295, allocations: 20.95 kB / 390.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.5311, allocations: 2.644 MB / 393.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5311, allocations: 3.375 kB / 393.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.534, allocations: 1.158 MB / 394.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.5343, allocations: 158.4 kB / 394.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.5344, allocations: 11.41 kB / 394.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.5349, allocations: 60.31 kB / 395 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.535, allocations: 58.31 kB / 395 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.5351, allocations: 18.23 kB / 395 MB, free: 5.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003044/0.5354, allocations: 206 kB / 395.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5354, allocations: 4 kB / 395.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001325/0.5367, allocations: 181.7 kB / 395.4 MB, free: 5.301 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.0003428/0.5371, allocations: 153.6 kB / 395.6 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.5394, allocations: 0.9626 MB / 396.5 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5395, allocations: 1.203 kB / 396.5 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.5406, allocations: 0.5694 MB / 397.1 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.5411, allocations: 47.95 kB / 397.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.5442, allocations: 1.579 MB / 398.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.5446, allocations: 0.8827 MB / 399.6 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.5449, allocations: 60.22 kB / 399.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5449, allocations: 0 / 399.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of Templates: time 0.01936/0.5643, allocations: 13.09 MB / 412.8 MB, free: 7.488 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.o] Error 1