Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008811/0.0008811, allocations: 92.88 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001007, allocations: 194.1 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002658, allocations: 8 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.0028/0.1459, allocations: 2.371 MB / 361.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1473, allocations: 0.7287 MB / 361.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1474, allocations: 8 kB / 361.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.132e-05/0.1475, allocations: 51.67 kB / 361.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1477, allocations: 75.31 kB / 362 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.148, allocations: 99.83 kB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.1485, allocations: 410.8 kB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.1488, allocations: 166.3 kB / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.1491, allocations: 147.5 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.1493, allocations: 159.3 kB / 363 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-05/0.1493, allocations: 24 kB / 363 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.1494, allocations: 35.98 kB / 363 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.1495, allocations: 67.75 kB / 363.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/0.1496, allocations: 101.5 kB / 363.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.15, allocations: 387.1 kB / 363.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.15, allocations: 0 / 363.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.15, allocations: 0 / 363.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.15, allocations: 0 / 363.6 MB, free: 9.301 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009509/0.151, allocations: 0.6188 MB / 364.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.151, allocations: 8.031 kB / 364.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.1513, allocations: 63.52 kB / 364.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.1516, allocations: 275.2 kB / 364.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.1516, allocations: 32.95 kB / 364.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.1517, allocations: 44 kB / 364.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007531/0.1525, allocations: 447.2 kB / 365.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1525, allocations: 0 / 365.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.1526, allocations: 23.94 kB / 365.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1526, allocations: 12 kB / 365.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.1531, allocations: 287.8 kB / 365.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.1551, allocations: 1.322 MB / 366.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.1556, allocations: 254.3 kB / 366.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.1559, allocations: 189.9 kB / 367.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.156, allocations: 0 / 367.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.156, allocations: 42.55 kB / 367.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.156, allocations: 4 kB / 367.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001407/0.1574, allocations: 0.5423 MB / 367.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.1576, allocations: 235.3 kB / 367.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.1578, allocations: 207 kB / 368.1 MB, free: 4.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.1579, allocations: 33.7 kB / 368.2 MB, free: 4.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.158, allocations: 200.2 kB / 368.4 MB, free: 4.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.436e-05/0.1581, allocations: 106.5 kB / 368.5 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.1582, allocations: 4 kB / 368.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1583, allocations: 330.8 kB / 368.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1585, allocations: 87.7 kB / 368.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.1588, allocations: 156.5 kB / 369 MB, free: 3.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.159, allocations: 95.86 kB / 369.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.159, allocations: 4 kB / 369.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004526/0.1594, allocations: 277 kB / 369.4 MB, free: 3.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1595, allocations: 7.984 kB / 369.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1595, allocations: 0 / 369.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.1595, allocations: 11.94 kB / 369.4 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.1598, allocations: 79.84 kB / 369.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1599, allocations: 3.984 kB / 369.5 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.16, allocations: 39.75 kB / 369.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.1601, allocations: 11.94 kB / 369.6 MB, free: 2.949 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * 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.0001757/0.1603, allocations: 149.8 kB / 369.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.1603, allocations: 19.81 kB / 369.7 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.1604, allocations: 34.64 kB / 369.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.1604, allocations: 11.95 kB / 369.8 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.1604, allocations: 4 kB / 369.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1604, allocations: 0 / 369.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.1616, allocations: 0.7777 MB / 370.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1616, allocations: 4 kB / 370.6 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.1618, allocations: 47.97 kB / 370.6 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.1622, allocations: 92.83 kB / 370.7 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.1622, allocations: 11.94 kB / 370.7 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2553/0.4176, allocations: 1.814 MB / 372.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4176, allocations: 0.5312 kB / 372.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4187, allocations: 0.508 MB / 373 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.4188, allocations: 97.38 kB / 373.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.4188, allocations: 8.734 kB / 373.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.419, allocations: 18.47 kB / 373.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.757e-05/0.4191, allocations: 25.11 kB / 373.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.4192, allocations: 6.734 kB / 373.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.4193, allocations: 150.3 kB / 373.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4193, allocations: 2.531 kB / 373.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.4198, allocations: 106.1 kB / 373.4 MB, free: 18.42 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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): 17 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.42, allocations: 100.7 kB / 373.5 MB, free: 18.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004643/0.4204, allocations: 212.6 kB / 373.7 MB, free: 18.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4204, allocations: 4.406 kB / 373.7 MB, free: 18.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.4209, allocations: 276.7 kB / 374 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.4213, allocations: 39.81 kB / 374.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.4228, allocations: 1.087 MB / 375.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.4231, allocations: 0.7885 MB / 375.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.4232, allocations: 23.23 kB / 376 MB, free: 16.86 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4232, allocations: 0 / 376 MB, free: 16.86 MB / 302.1 MB Notification: Performance of Templates: time 0.009982/0.4332, allocations: 3.991 MB / 379.9 MB, free: 16.59 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Electrical.Spice3.Examples.CoupledInductorsCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductorsCalcHelperMain.o] Error 1