Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001121/0.001121, allocations: 94.12 kB / 16.96 MB, free: 6.41 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.001498/0.001498, allocations: 178.8 kB / 17.84 MB, free: 5.969 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.531/1.531, allocations: 223.2 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 8 kB / 301.4 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1174, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007234/0.1247, allocations: 5.572 MB / 357.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00484/0.1296, allocations: 2.279 MB / 359.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.1307, allocations: 24 kB / 359.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.1318, allocations: 266.5 kB / 360 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.1339, allocations: 0.5597 MB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.136, allocations: 0.903 MB / 361.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.1374, allocations: 0.9655 MB / 362.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.1394, allocations: 1.175 MB / 363.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.1399, allocations: 366.6 kB / 364 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/0.1405, allocations: 462 kB / 364.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.14e-05/0.1406, allocations: 44 kB / 364.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.1414, allocations: 343.7 kB / 364.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1416, allocations: 171.2 kB / 365 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.1418, allocations: 197.2 kB / 365.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.1431, allocations: 1.114 MB / 366.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1431, allocations: 4 kB / 366.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1432, allocations: 0 / 366.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.1432, allocations: 4 kB / 366.3 MB, free: 5.512 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003902/0.1471, allocations: 1.448 MB / 367.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1471, allocations: 8.031 kB / 367.7 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/0.1501, allocations: 498.2 kB / 368.2 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007463/0.1508, allocations: 473.4 kB / 368.7 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.1509, allocations: 82.22 kB / 368.8 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.1511, allocations: 111.9 kB / 368.9 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.1529, allocations: 0.9667 MB / 369.8 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.1529, allocations: 11.98 kB / 369.9 MB, free: 1.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.153, allocations: 44 kB / 369.9 MB, free: 1.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.1531, allocations: 28 kB / 369.9 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.1549, allocations: 0.9574 MB / 370.9 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2366/0.3915, allocations: 3.707 MB / 374.6 MB, free: 22.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.3938, allocations: 1.544 MB / 376.1 MB, free: 21.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.3946, allocations: 438.8 kB / 376.6 MB, free: 21.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.3948, allocations: 99.38 kB / 376.7 MB, free: 21.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009838/0.3958, allocations: 470 kB / 377.1 MB, free: 20.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.206e-06/0.3958, allocations: 2.906 kB / 377.1 MB, free: 20.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009227/0.405, allocations: 4.028 MB / 381.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.4052, allocations: 140.2 kB / 381.3 MB, free: 18.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/0.4058, allocations: 397.2 kB / 381.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/0.4059, allocations: 51.59 kB / 381.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.4062, allocations: 416.6 kB / 382.1 MB, free: 18.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/0.4067, allocations: 422.2 kB / 382.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.4067, allocations: 29.06 kB / 382.6 MB, free: 17.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4069, allocations: 376.2 kB / 382.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008689/0.4078, allocations: 352.8 kB / 383.3 MB, free: 17.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.409, allocations: 0.5365 MB / 383.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009924/0.4101, allocations: 435 kB / 384.2 MB, free: 16.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4101, allocations: 1.156 kB / 384.2 MB, free: 16.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003109/0.4132, allocations: 1.376 MB / 385.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.4132, allocations: 7.062 kB / 385.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.4133, allocations: 3.938 kB / 385.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.4143, allocations: 357.5 kB / 386 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/0.4152, allocations: 201 kB / 386.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008629/0.4238, allocations: 7.732 MB / 393.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.425, allocations: 47.98 kB / 394 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.4251, allocations: 42.89 kB / 394 MB, free: 9.539 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000707/0.4259, allocations: 269 kB / 394.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.426, allocations: 69.44 kB / 394.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/0.4288, allocations: 1.3 MB / 395.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.4288, allocations: 12.22 kB / 395.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.4288, allocations: 7.812 kB / 395.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.4289, allocations: 6.891 kB / 395.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/0.4335, allocations: 2.542 MB / 398.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.4335, allocations: 10.88 kB / 398.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/0.4342, allocations: 149.5 kB / 398.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008317/0.4351, allocations: 324.6 kB / 398.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.4351, allocations: 32.86 kB / 398.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/0.4411, allocations: 7.437 MB / 406.1 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4412, allocations: 3.938 kB / 406.1 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.4445, allocations: 1.811 MB / 408 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.445, allocations: 224.2 kB / 408.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4451, allocations: 24 kB / 408.2 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.4456, allocations: 39.98 kB / 408.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.4458, allocations: 96.81 kB / 408.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.071e-05/0.4459, allocations: 37.84 kB / 408.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003795/0.4463, allocations: 267.2 kB / 408.6 MB, free: 14.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4463, allocations: 0 / 408.6 MB, free: 14.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001643/0.448, allocations: 316 kB / 408.9 MB, free: 14.04 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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 19,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000415/0.4484, allocations: 171.7 kB / 409.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003687/0.4521, allocations: 1.617 MB / 410.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4521, allocations: 0 / 410.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.4541, allocations: 1.155 MB / 411.9 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.4549, allocations: 74.69 kB / 411.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.4597, allocations: 2.42 MB / 414.4 MB, free: 8.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008441/0.4606, allocations: 1.028 MB / 415.4 MB, free: 7.414 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.4609, allocations: 67.42 kB / 415.5 MB, free: 7.348 MB / 318.1 MB Notification: Performance of SimCode: time 2.775e-06/0.4609, allocations: 0 / 415.5 MB, free: 7.348 MB / 318.1 MB Notification: Performance of Templates: time 0.03574/0.4967, allocations: 26.13 MB / 441.6 MB, free: 13.16 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.LinearInductorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.o] Error 1