Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009664/0.0009662, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001416, allocations: 201.6 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.61/1.61, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002528/0.0002528, allocations: 7.984 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1251, allocations: 51.48 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007128/0.1323, allocations: 5.614 MB / 364.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004873/0.1372, allocations: 2.345 MB / 366.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005346/0.1378, allocations: 20 kB / 366.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008261/0.1386, allocations: 274.5 kB / 367 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.14, allocations: 433.7 kB / 367.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.1422, allocations: 1.015 MB / 368.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.1436, allocations: 0.9887 MB / 369.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002315/0.1459, allocations: 1.183 MB / 370.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006524/0.1465, allocations: 358.6 kB / 371 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.1472, allocations: 473.9 kB / 371.5 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.1473, allocations: 48 kB / 371.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.1483, allocations: 347.6 kB / 371.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.1485, allocations: 167.3 kB / 372 MB, free: 0.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.1488, allocations: 209.1 kB / 372.2 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2567/0.4055, allocations: 1.121 MB / 373.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.4056, allocations: 0 / 373.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.4056, allocations: 1 kB / 373.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.754e-05/0.4056, allocations: 0 / 373.3 MB, free: 10.57 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.004828/0.4105, allocations: 1.464 MB / 374.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.4105, allocations: 9.547 kB / 374.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.4139, allocations: 0.4933 MB / 375.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009155/0.4149, allocations: 477.6 kB / 375.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.304e-05/0.415, allocations: 94.2 kB / 375.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.4152, allocations: 110.3 kB / 376 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.4176, allocations: 0.9659 MB / 376.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.4177, allocations: 6.125 kB / 376.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.4178, allocations: 46.25 kB / 377 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.4178, allocations: 27.5 kB / 377 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.4199, allocations: 0.9673 MB / 378 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00663/0.4265, allocations: 3.791 MB / 381.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.4286, allocations: 1.551 MB / 383.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/0.4294, allocations: 436.1 kB / 383.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.4296, allocations: 183.6 kB / 383.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009424/0.4305, allocations: 472 kB / 384.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/0.4305, allocations: 0 / 384.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009656/0.4402, allocations: 4.025 MB / 388.4 MB, free: 5.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.4403, allocations: 148.7 kB / 388.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.4409, allocations: 403.6 kB / 389 MB, free: 5.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.4409, allocations: 49.83 kB / 389 MB, free: 5.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.4413, allocations: 427.5 kB / 389.4 MB, free: 5.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000349/0.4416, allocations: 422.8 kB / 389.8 MB, free: 5.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.4417, allocations: 25.25 kB / 389.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4418, allocations: 377.7 kB / 390.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007879/0.4426, allocations: 352.3 kB / 390.6 MB, free: 4.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/0.4436, allocations: 0.5416 MB / 391.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.4445, allocations: 429.2 kB / 391.5 MB, free: 4.035 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.4446, allocations: 0.9062 kB / 391.5 MB, free: 4.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002933/0.4475, allocations: 1.378 MB / 392.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4475, allocations: 14.27 kB / 392.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.4476, allocations: 5.406 kB / 392.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009016/0.4485, allocations: 345.6 kB / 393.3 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.4493, allocations: 209.7 kB / 393.5 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007492/0.4568, allocations: 7.725 MB / 401.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008957/0.4578, allocations: 48.95 kB / 401.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.4578, allocations: 45.38 kB / 401.3 MB, free: 12.55 MB / 318.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.0005501/0.4584, allocations: 264.4 kB / 401.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.4585, allocations: 71.62 kB / 401.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.4609, allocations: 1.305 MB / 402.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.461, allocations: 16.84 kB / 402.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.461, allocations: 6.312 kB / 402.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.461, allocations: 3.984 kB / 402.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/0.4652, allocations: 2.545 MB / 405.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4652, allocations: 2.969 kB / 405.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/0.4659, allocations: 155 kB / 405.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007508/0.4666, allocations: 326.4 kB / 406 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.4667, allocations: 34.58 kB / 406 MB, free: 9.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007079/0.4738, allocations: 7.429 MB / 413.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.4738, allocations: 11.61 kB / 413.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.4773, allocations: 1.812 MB / 415.3 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005386/0.4778, allocations: 222.3 kB / 415.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4779, allocations: 24.23 kB / 415.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.4784, allocations: 39.94 kB / 415.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.4787, allocations: 100.5 kB / 415.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.4788, allocations: 39.97 kB / 415.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003825/0.4791, allocations: 271.2 kB / 415.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4791, allocations: 0 / 415.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001547/0.4807, allocations: 320 kB / 416.2 MB, free: 15.22 MB / 334.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.000345/0.4811, allocations: 180.1 kB / 416.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.4839, allocations: 1.62 MB / 418 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4839, allocations: 0 / 418 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.4855, allocations: 1.145 MB / 419.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.4862, allocations: 73.55 kB / 419.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.4903, allocations: 2.434 MB / 421.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.4909, allocations: 1.024 MB / 422.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.4912, allocations: 63.42 kB / 422.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of SimCode: time 2.034e-06/0.4912, allocations: 0 / 422.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of Templates: time 0.03105/0.5223, allocations: 26.42 MB / 449.2 MB, free: 14.12 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.o] Error 1