Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 93.53 kB / 17.95 MB, free: 5.344 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.001125/0.001125, allocations: 174.4 kB / 18.86 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 225 MB, free: 12.93 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005667/0.0005667, allocations: 11.98 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1496, allocations: 47.6 MB / 329.6 MB, free: 3.723 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007697/0.1573, allocations: 5.927 MB / 335.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005554/0.1629, allocations: 2.477 MB / 338 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005683/0.1635, allocations: 16 kB / 338 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.1646, allocations: 338.5 kB / 338.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.1665, allocations: 0.6337 MB / 339 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.1688, allocations: 1.048 MB / 340.1 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.1703, allocations: 1.04 MB / 341.1 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.1726, allocations: 1.326 MB / 342.4 MB, free: 6.812 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.1732, allocations: 382.3 kB / 342.8 MB, free: 6.438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006799/0.1738, allocations: 0.4977 MB / 343.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.646e-05/0.174, allocations: 48 kB / 343.3 MB, free: 5.891 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009818/0.1749, allocations: 343.7 kB / 343.7 MB, free: 5.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.1752, allocations: 191.1 kB / 343.9 MB, free: 5.367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.1757, allocations: 0.4951 MB / 344.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.177, allocations: 1.118 MB / 345.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.177, allocations: 0 / 345.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.177, allocations: 4 kB / 345.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.177, allocations: 0 / 345.5 MB, free: 3.738 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.00426/0.1813, allocations: 1.461 MB / 346.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.1814, allocations: 12.03 kB / 347 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/0.1852, allocations: 0.5772 MB / 347.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.186, allocations: 0.4902 MB / 348 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1861, allocations: 86.3 kB / 348.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.1863, allocations: 115.8 kB / 348.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.1884, allocations: 1.015 MB / 349.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.1885, allocations: 4 kB / 349.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.1886, allocations: 48 kB / 349.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.1887, allocations: 28 kB / 349.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.1907, allocations: 1.044 MB / 350.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006756/0.1975, allocations: 3.885 MB / 354.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.2, allocations: 2.052 MB / 356.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008268/0.2009, allocations: 443.5 kB / 356.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.201, allocations: 106.2 kB / 356.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009493/0.202, allocations: 490.3 kB / 357.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 3.737e-06/0.202, allocations: 0 / 357.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=127): time 0.0098/0.2118, allocations: 4.068 MB / 361.4 MB, free: 3.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.212, allocations: 145.5 kB / 361.5 MB, free: 2.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.2125, allocations: 417.7 kB / 361.9 MB, free: 2.457 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/0.2126, allocations: 49.7 kB / 362 MB, free: 2.402 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.2131, allocations: 435.5 kB / 362.4 MB, free: 1.969 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/0.2135, allocations: 433.7 kB / 362.8 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.2137, allocations: 101.7 kB / 362.9 MB, free: 1.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002898/0.214, allocations: 386.7 kB / 363.3 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/0.2148, allocations: 362.5 kB / 363.7 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009728/0.2158, allocations: 0.5876 MB / 364.2 MB, free: 24 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.2176, allocations: 1.012 MB / 365.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2176, allocations: 0 / 365.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002921/0.2205, allocations: 1.437 MB / 366.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.2206, allocations: 8 kB / 366.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.2206, allocations: 11.94 kB / 366.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009737/0.2216, allocations: 351 kB / 367.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009148/0.2225, allocations: 219.7 kB / 367.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008699/0.2312, allocations: 7.754 MB / 375 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009445/0.2322, allocations: 56.05 kB / 375.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.014e-05/0.2323, allocations: 44 kB / 375.1 MB, free: 4.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006403/0.2329, allocations: 273.5 kB / 375.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.233, allocations: 71.16 kB / 375.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.2358, allocations: 1.329 MB / 376.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.2359, allocations: 12 kB / 376.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/0.2359, allocations: 15.88 kB / 376.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.2359, allocations: 7.969 kB / 376.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004563/0.2405, allocations: 2.577 MB / 379.4 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.2405, allocations: 0 / 379.4 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3191/0.5596, allocations: 152.8 kB / 379.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/0.5608, allocations: 325.3 kB / 379.9 MB, free: 51.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/0.561, allocations: 27.16 kB / 379.9 MB, free: 51.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009868/0.5709, allocations: 7.448 MB / 387.3 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5709, allocations: 2.625 kB / 387.3 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005184/0.5761, allocations: 1.847 MB / 389.2 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/0.5768, allocations: 224.9 kB / 389.4 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.5769, allocations: 24.11 kB / 389.4 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.5775, allocations: 42.48 kB / 389.5 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004624/0.578, allocations: 103.3 kB / 389.6 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.262e-05/0.5781, allocations: 35.94 kB / 389.6 MB, free: 44.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005895/0.5787, allocations: 279.3 kB / 389.9 MB, free: 44.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5787, allocations: 0 / 389.9 MB, free: 44.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001889/0.5806, allocations: 322.5 kB / 390.2 MB, free: 44.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004854/0.5811, allocations: 168.6 kB / 390.4 MB, free: 44.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003965/0.5851, allocations: 1.655 MB / 392 MB, free: 43.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5851, allocations: 0 / 392 MB, free: 43.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.5871, allocations: 1.156 MB / 393.2 MB, free: 43.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.5878, allocations: 78.73 kB / 393.2 MB, free: 42.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.5926, allocations: 2.59 MB / 395.8 MB, free: 41.42 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.5934, allocations: 1.027 MB / 396.9 MB, free: 40.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.5937, allocations: 67.33 kB / 396.9 MB, free: 40.7 MB / 318.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5937, allocations: 1.125 kB / 396.9 MB, free: 40.7 MB / 318.1 MB Notification: Performance of Templates: time 0.03609/0.6298, allocations: 26.6 MB / 423.5 MB, free: 20.01 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.o] Error 1