Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00084/0.0008397, allocations: 85.41 kB / 17.63 MB, free: 6.133 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.0009147/0.0009146, allocations: 184.1 kB / 18.52 MB, free: 5.297 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.49/1.49, allocations: 223.3 MB / 242.5 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2496/0.2496, allocations: 44.22 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 8 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.002811/0.1445, allocations: 2.229 MB / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1457, allocations: 0.7014 MB / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1458, allocations: 11.94 kB / 475.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.146, allocations: 43.64 kB / 475.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1462, allocations: 91.48 kB / 475.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1465, allocations: 75.86 kB / 475.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.1468, allocations: 378.5 kB / 475.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.1471, allocations: 119.6 kB / 475.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.1473, allocations: 127.5 kB / 475.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1475, allocations: 147.2 kB / 476.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.1475, allocations: 20 kB / 476.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/0.1476, allocations: 16 kB / 476.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.1476, allocations: 59.75 kB / 476.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.1477, allocations: 85.52 kB / 476.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.148, allocations: 303.1 kB / 476.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.148, allocations: 0 / 476.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.148, allocations: 0 / 476.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.148, allocations: 0 / 476.6 MB, free: 9.328 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.000957/0.149, allocations: 0.6277 MB / 477.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.149, allocations: 8.031 kB / 477.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.1491, allocations: 39.53 kB / 477.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1494, allocations: 263.5 kB / 477.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.1495, allocations: 25 kB / 477.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.1495, allocations: 32 kB / 477.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.1502, allocations: 374.5 kB / 477.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1502, allocations: 4 kB / 477.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.1503, allocations: 8 kB / 477.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.1503, allocations: 12 kB / 477.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.1511, allocations: 288.8 kB / 478.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.1535, allocations: 1.367 MB / 479.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.154, allocations: 206.6 kB / 479.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.1543, allocations: 87.52 kB / 479.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.1544, allocations: 8 kB / 479.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1544, allocations: 42.62 kB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.1544, allocations: 0 / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008564/0.1553, allocations: 285.2 kB / 480.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.1553, allocations: 132.5 kB / 480.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.1557, allocations: 324.4 kB / 480.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1558, allocations: 29.7 kB / 480.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.156, allocations: 231.7 kB / 480.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.1561, allocations: 55.2 kB / 481 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.1561, allocations: 4 kB / 481 MB, free: 4.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.1563, allocations: 346.8 kB / 481.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.1567, allocations: 84.52 kB / 481.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.1572, allocations: 184.1 kB / 481.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.1576, allocations: 108 kB / 481.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1576, allocations: 0 / 481.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008217/0.1585, allocations: 321.3 kB / 482 MB, free: 3.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.1585, allocations: 11.92 kB / 482 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1585, allocations: 8.516 kB / 482 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1585, allocations: 8.031 kB / 482 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.159, allocations: 108.1 kB / 482.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.159, allocations: 7.984 kB / 482.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.1592, allocations: 51.58 kB / 482.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1593, allocations: 12 kB / 482.2 MB, free: 3.324 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001684/0.1594, allocations: 150.2 kB / 482.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/0.1595, allocations: 31.62 kB / 482.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.317e-05/0.1596, allocations: 38.39 kB / 482.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.1596, allocations: 7.953 kB / 482.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1597, allocations: 3.938 kB / 482.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.1597, allocations: 0 / 482.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008216/0.1605, allocations: 0.5837 MB / 483 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1605, allocations: 7.938 kB / 483 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.1608, allocations: 72.09 kB / 483.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1608, allocations: 4 kB / 483.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1608, allocations: 4 kB / 483.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1608, allocations: 0 / 483.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1608, allocations: 4 kB / 483.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.1614, allocations: 420.9 kB / 483.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.1615, allocations: 108.7 kB / 483.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.1616, allocations: 4 kB / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1618, allocations: 27.97 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.1619, allocations: 19.92 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1619, allocations: 4 kB / 483.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.1621, allocations: 227.1 kB / 483.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1621, allocations: 0 / 483.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.1626, allocations: 67.78 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001323/0.1627, allocations: 99.25 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.1633, allocations: 220 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1633, allocations: 0 / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.1635, allocations: 92.27 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.1639, allocations: 29.39 kB / 484.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.165, allocations: 0.6838 MB / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.1654, allocations: 0.7755 MB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.1655, allocations: 23.44 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1655, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Templates: time 0.005242/0.1708, allocations: 3.085 MB / 488.9 MB, free: 12.35 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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 OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.SourcesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.SourcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.SourcesCalcHelperMain.o] Error 1