Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 107.4 kB / 16.52 MB, free: 6.266 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.001505/0.001505, allocations: 195.2 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3346/0.3346, allocations: 43.52 MB / 314.1 MB, free: 0.7461 MB / 254.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.001609/0.00161, allocations: 71.42 kB / 382.7 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1526, allocations: 57.79 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006913/0.1596, allocations: 6.89 MB / 447.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005133/0.1648, allocations: 2.171 MB / 449.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007726/0.1656, allocations: 23.94 kB / 449.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.1692, allocations: 1.432 MB / 451 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.1714, allocations: 0.7892 MB / 451.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1728, allocations: 0.537 MB / 452.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.1743, allocations: 1.124 MB / 453.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.1755, allocations: 0.7398 MB / 454.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006702/0.1762, allocations: 462 kB / 454.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.1768, allocations: 0.599 MB / 455.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.177, allocations: 72 kB / 455.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.1777, allocations: 255.8 kB / 455.5 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.1779, allocations: 231 kB / 455.8 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.1785, allocations: 0.5401 MB / 456.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.1797, allocations: 1.13 MB / 457.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1797, allocations: 0 / 457.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1797, allocations: 0 / 457.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1798, allocations: 3.938 kB / 457.4 MB, free: 6.473 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00432/0.1841, allocations: 1.709 MB / 459.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1842, allocations: 12.03 kB / 459.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009855/0.194, allocations: 1.424 MB / 460.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.1955, allocations: 0.5406 MB / 461.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.258e-05/0.1956, allocations: 90.48 kB / 461.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.1958, allocations: 124 kB / 461.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.1982, allocations: 1.185 MB / 462.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.088e-05/0.1982, allocations: 7.906 kB / 462.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.1984, allocations: 55.94 kB / 462.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.1984, allocations: 32 kB / 462.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.2009, allocations: 1.435 MB / 464.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008152/0.2091, allocations: 4.839 MB / 468.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.2111, allocations: 1.196 MB / 470.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006933/0.2119, allocations: 376.9 kB / 470.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.212, allocations: 98.08 kB / 470.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.2121, allocations: 43.56 kB / 470.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 4.579e-06/0.2121, allocations: 3.938 kB / 470.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.00243/0.2145, allocations: 1.195 MB / 471.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.2146, allocations: 64.34 kB / 471.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.2157, allocations: 0.8011 MB / 472.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.2157, allocations: 41.7 kB / 472.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.2161, allocations: 478.7 kB / 473.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.2164, allocations: 315.5 kB / 473.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.2167, allocations: 194.8 kB / 473.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.2169, allocations: 402.7 kB / 474.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/0.2175, allocations: 338.5 kB / 474.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008364/0.2184, allocations: 0.61 MB / 475 MB, free: 4.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.2198, allocations: 0.9789 MB / 476 MB, free: 3.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2199, allocations: 3.938 kB / 476 MB, free: 3.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002061/0.2219, allocations: 1.17 MB / 477.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.222, allocations: 12.06 kB / 477.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.222, allocations: 8 kB / 477.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003081/0.2223, allocations: 69.67 kB / 477.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009795/0.2233, allocations: 255.6 kB / 477.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.2256, allocations: 2.646 MB / 480.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/0.2265, allocations: 146.3 kB / 480.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.511e-05/0.2266, allocations: 44 kB / 480.3 MB, free: 14.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005212/0.2271, allocations: 257.6 kB / 480.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.2273, allocations: 90.88 kB / 480.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.2292, allocations: 1.114 MB / 481.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.2293, allocations: 12 kB / 481.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2293, allocations: 3.938 kB / 481.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.2293, allocations: 3.984 kB / 481.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/0.2336, allocations: 2.73 MB / 484.5 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.2336, allocations: 4 kB / 484.5 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.2343, allocations: 183.7 kB / 484.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/0.2346, allocations: 66.16 kB / 484.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.2347, allocations: 27.98 kB / 484.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.2369, allocations: 2.611 MB / 487.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/0.237, allocations: 16 kB / 487.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.2397, allocations: 1.476 MB / 488.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.2401, allocations: 207.6 kB / 489.1 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.2402, allocations: 24 kB / 489.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.2409, allocations: 56.03 kB / 489.2 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.2411, allocations: 76.39 kB / 489.3 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.2411, allocations: 39.98 kB / 489.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009835/0.2421, allocations: 0.5615 MB / 489.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2421, allocations: 0 / 489.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001226/0.2434, allocations: 295.5 kB / 490.1 MB, free: 3.953 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004213/0.2438, allocations: 174.9 kB / 490.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.2462, allocations: 1.083 MB / 491.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2462, allocations: 12.25 kB / 491.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.2474, allocations: 0.6155 MB / 492 MB, free: 2.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.2483, allocations: 126.9 kB / 492.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.2523, allocations: 2.268 MB / 494.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000869/0.2531, allocations: 0.9962 MB / 495.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.2535, allocations: 95.36 kB / 495.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.2535, allocations: 4 kB / 495.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of Templates: time 0.03346/0.287, allocations: 20.27 MB / 0.5037 GB, free: 10.09 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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 OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.o] Error 1