Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008991/0.000899, allocations: 95.62 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 201 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003862, allocations: 7.938 kB / 307.3 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 51.49 MB / 358.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005198/0.1324, allocations: 4.464 MB / 363.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.1355, allocations: 1.577 MB / 364.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.1358, allocations: 19.94 kB / 364.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.1364, allocations: 191 kB / 365.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006557/0.137, allocations: 266.3 kB / 365.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.1382, allocations: 0.5336 MB / 365.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008711/0.1391, allocations: 0.7425 MB / 366.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.1415, allocations: 1.352 MB / 367.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004542/0.142, allocations: 282.9 kB / 368.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004364/0.1424, allocations: 390.4 kB / 368.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.1425, allocations: 40 kB / 368.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/0.143, allocations: 211.8 kB / 368.8 MB, free: 4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1432, allocations: 131.4 kB / 369 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.1435, allocations: 165.3 kB / 369.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.1445, allocations: 0.9115 MB / 370 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1445, allocations: 0 / 370 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1445, allocations: 0 / 370 MB, free: 2.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1445, allocations: 0 / 370 MB, free: 2.789 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003498/0.148, allocations: 1.302 MB / 371.3 MB, free: 1.438 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.148, allocations: 8.031 kB / 371.4 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.1497, allocations: 258.8 kB / 371.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.15, allocations: 267 kB / 371.9 MB, free: 0.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/0.1501, allocations: 69.94 kB / 371.9 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.1502, allocations: 103.9 kB / 372 MB, free: 0.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2585/0.4087, allocations: 0.9214 MB / 373 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.639e-05/0.4088, allocations: 2.156 kB / 373 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.4089, allocations: 39.59 kB / 373 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.409, allocations: 24.59 kB / 373 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.4115, allocations: 0.7763 MB / 373.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008825/0.4203, allocations: 3.645 MB / 377.4 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.4231, allocations: 1.246 MB / 378.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008268/0.4239, allocations: 375.1 kB / 379.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.4241, allocations: 182.1 kB / 379.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.4242, allocations: 46.44 kB / 379.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 4.609e-06/0.4242, allocations: 0 / 379.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.003095/0.4273, allocations: 1.295 MB / 380.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.4274, allocations: 87.77 kB / 380.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006429/0.428, allocations: 367.7 kB / 381 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.4281, allocations: 35.83 kB / 381.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.4284, allocations: 385.4 kB / 381.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.4287, allocations: 303 kB / 381.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.4288, allocations: 20.38 kB / 381.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4289, allocations: 363.5 kB / 382.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/0.4296, allocations: 258.1 kB / 382.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/0.4303, allocations: 474.6 kB / 382.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.4308, allocations: 330.6 kB / 383.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.4308, allocations: 1.438 kB / 383.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001611/0.4325, allocations: 0.9704 MB / 384.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.4325, allocations: 7.625 kB / 384.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.4325, allocations: 5.641 kB / 384.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004263/0.433, allocations: 123.6 kB / 384.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.4338, allocations: 212 kB / 384.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.4371, allocations: 5.56 MB / 390 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/0.4377, allocations: 105.5 kB / 390.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.4378, allocations: 38.28 kB / 390.2 MB, free: 6.805 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003212/0.4381, allocations: 228.1 kB / 390.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.4383, allocations: 54.98 kB / 390.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.44, allocations: 0.8409 MB / 391.3 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.4401, allocations: 8.938 kB / 391.3 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4401, allocations: 2.062 kB / 391.3 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.4401, allocations: 9.219 kB / 391.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/0.4432, allocations: 2.089 MB / 393.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.4432, allocations: 2.781 kB / 393.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.4438, allocations: 135.6 kB / 393.5 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002599/0.4441, allocations: 110.4 kB / 393.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.4441, allocations: 21.61 kB / 393.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00314/0.4473, allocations: 5.311 MB / 399 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4473, allocations: 2.125 kB / 399 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.4495, allocations: 1.26 MB / 400.2 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.4497, allocations: 147.9 kB / 400.4 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/0.4498, allocations: 20.02 kB / 400.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.4503, allocations: 24.59 kB / 400.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.4504, allocations: 64.14 kB / 400.5 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.4505, allocations: 27.56 kB / 400.5 MB, free: 14.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003617/0.4508, allocations: 253.4 kB / 400.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4508, allocations: 5.312 kB / 400.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4519, allocations: 259.6 kB / 401 MB, free: 14.17 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (78): * Single equations (assignments): 74 * 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%) 2,(1,100.0%) 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.0003121/0.4523, allocations: 154.6 kB / 401.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.4543, allocations: 1.164 MB / 402.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4543, allocations: 0 / 402.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009663/0.4552, allocations: 0.7966 MB / 403.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.4559, allocations: 62.95 kB / 403.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.4588, allocations: 1.746 MB / 404.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/0.4595, allocations: 0.9148 MB / 405.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.4597, allocations: 61.39 kB / 405.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4597, allocations: 0 / 405.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of Templates: time 0.02622/0.4859, allocations: 20.87 MB / 426.8 MB, free: 8.551 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakageCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakageCalcHelperMain.o] Error 1