Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 90.7 kB / 17.63 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 201.6 kB / 18.54 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002533/0.0002533, allocations: 8 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.148, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003855/0.152, allocations: 2.413 MB / 361.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1535, allocations: 0.752 MB / 362 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.1536, allocations: 4 kB / 362 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.1538, allocations: 39.64 kB / 362 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.1542, allocations: 87.41 kB / 362.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1544, allocations: 75.92 kB / 362.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.1548, allocations: 370.5 kB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.1551, allocations: 109.7 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.1554, allocations: 131.5 kB / 362.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1556, allocations: 147.3 kB / 362.9 MB, free: 10 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.1556, allocations: 24 kB / 362.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.737e-05/0.1557, allocations: 20 kB / 363 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.1557, allocations: 59.7 kB / 363 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.1558, allocations: 81.52 kB / 363.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.1561, allocations: 303.4 kB / 363.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.1562, allocations: 0 / 363.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1562, allocations: 0 / 363.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1562, allocations: 0 / 363.4 MB, free: 9.516 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001185/0.1574, allocations: 0.608 MB / 364 MB, free: 8.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1574, allocations: 8.031 kB / 364 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.756e-05/0.1575, allocations: 43.52 kB / 364 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.1579, allocations: 258.5 kB / 364.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.158, allocations: 24.66 kB / 364.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.158, allocations: 35.95 kB / 364.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.1586, allocations: 301.9 kB / 364.6 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1587, allocations: 3.984 kB / 364.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.1587, allocations: 16 kB / 364.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.1587, allocations: 8 kB / 364.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.1594, allocations: 270.5 kB / 364.9 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.1612, allocations: 1.135 MB / 366.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.1616, allocations: 158.1 kB / 366.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.1618, allocations: 68.83 kB / 366.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1618, allocations: 4 kB / 366.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1619, allocations: 42.5 kB / 366.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.1619, allocations: 0 / 366.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001956/0.1638, allocations: 0.6694 MB / 367 MB, free: 5.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1639, allocations: 59.55 kB / 367.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.1642, allocations: 278.9 kB / 367.3 MB, free: 5.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1643, allocations: 33.69 kB / 367.4 MB, free: 5.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1645, allocations: 227.5 kB / 367.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.1645, allocations: 78.92 kB / 367.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.1646, allocations: 8 kB / 367.7 MB, free: 4.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.1648, allocations: 334.8 kB / 368 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.1651, allocations: 115.7 kB / 368.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.1655, allocations: 204 kB / 368.3 MB, free: 4.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.1658, allocations: 129.1 kB / 368.4 MB, free: 4.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1658, allocations: 8 kB / 368.5 MB, free: 4.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008482/0.1667, allocations: 419.1 kB / 368.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1667, allocations: 4 kB / 368.9 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1667, allocations: 4.219 kB / 368.9 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.167, allocations: 61.67 kB / 368.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.1673, allocations: 79.89 kB / 369 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.1698, allocations: 2.628 MB / 371.6 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.17, allocations: 43.88 kB / 371.7 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.1701, allocations: 12 kB / 371.7 MB, free: 0.6133 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 (37): * Single equations (assignments): 35 * 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.0001879/0.1703, allocations: 153.7 kB / 371.8 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.1703, allocations: 23.72 kB / 371.9 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.588e-05/0.1704, allocations: 30.2 kB / 371.9 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1704, allocations: 4 kB / 371.9 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1704, allocations: 0 / 371.9 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1704, allocations: 7.984 kB / 371.9 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.1708, allocations: 337.8 kB / 372.2 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1709, allocations: 0 / 372.2 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2951/0.466, allocations: 40.17 kB / 372.3 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002893/0.4663, allocations: 55.3 kB / 372.3 MB, free: 20.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.4664, allocations: 3.516 kB / 372.3 MB, free: 20.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.4682, allocations: 2.642 MB / 375 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4682, allocations: 0 / 375 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/0.4691, allocations: 398.3 kB / 375.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.4692, allocations: 102.3 kB / 375.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.4693, allocations: 3.719 kB / 375.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.4695, allocations: 26.61 kB / 375.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.4696, allocations: 18.67 kB / 375.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.4696, allocations: 5.25 kB / 375.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000306/0.4699, allocations: 198 kB / 375.7 MB, free: 17.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4699, allocations: 0 / 375.7 MB, free: 17.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004731/0.4704, allocations: 73.94 kB / 375.8 MB, free: 17.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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.0001451/0.4705, allocations: 109.4 kB / 375.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.4716, allocations: 0.4888 MB / 376.4 MB, free: 17.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4716, allocations: 0.5938 kB / 376.4 MB, free: 17.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.4722, allocations: 356.3 kB / 376.7 MB, free: 16.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.4726, allocations: 30.8 kB / 376.8 MB, free: 16.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4739, allocations: 0.7199 MB / 377.5 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.4742, allocations: 0.7775 MB / 378.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.695e-05/0.4743, allocations: 22.25 kB / 378.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4743, allocations: 0.875 kB / 378.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Templates: time 0.01181/0.4861, allocations: 6.062 MB / 384.3 MB, free: 14.68 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSectionCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.o] Error 1