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.0009346/0.0009349, allocations: 95.05 kB / 16.67 MB, free: 6.285 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.001334/0.001334, allocations: 176.4 kB / 17.57 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2835/0.2835, allocations: 43.58 MB / 315.6 MB, free: 0.4922 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.0005381/0.0005384, allocations: 18.34 kB / 385.2 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1349, allocations: 58.87 MB / 444.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006149/0.1411, allocations: 6.368 MB / 450.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005783/0.1469, allocations: 2.152 MB / 452.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.1484, allocations: 24 kB / 452.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.1498, allocations: 322.5 kB / 453 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.153, allocations: 0.7675 MB / 453.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.1547, allocations: 0.5413 MB / 454.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.1569, allocations: 1.124 MB / 455.4 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003042/0.16, allocations: 1.43 MB / 456.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008347/0.1608, allocations: 422 kB / 457.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.1615, allocations: 0.5483 MB / 457.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.153e-05/0.1616, allocations: 48 kB / 457.8 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007755/0.1624, allocations: 223.8 kB / 458 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.1625, allocations: 202.9 kB / 458.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005162/0.1631, allocations: 0.5378 MB / 458.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.1643, allocations: 1.098 MB / 459.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1643, allocations: 3.984 kB / 459.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1643, allocations: 0 / 459.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.1644, allocations: 0 / 459.9 MB, free: 5.344 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.003838/0.1682, allocations: 1.483 MB / 461.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.1683, allocations: 8.031 kB / 461.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009883/0.1782, allocations: 1.439 MB / 462.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.1793, allocations: 0.5485 MB / 463.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.718e-05/0.1794, allocations: 86.48 kB / 463.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.1796, allocations: 127.9 kB / 463.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.1819, allocations: 1.196 MB / 464.8 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.182, allocations: 0 / 464.8 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.1821, allocations: 52 kB / 464.8 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.1822, allocations: 35.94 kB / 464.9 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.1847, allocations: 1.443 MB / 466.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008014/0.1927, allocations: 4.87 MB / 471.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.1948, allocations: 1.195 MB / 472.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006123/0.1954, allocations: 388.9 kB / 472.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.1955, allocations: 102.1 kB / 472.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1956, allocations: 43.56 kB / 472.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 3.998e-06/0.1956, allocations: 0 / 472.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.002353/0.1979, allocations: 1.218 MB / 474.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.198, allocations: 64.34 kB / 474.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.1991, allocations: 0.8051 MB / 475 MB, free: 5.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.1991, allocations: 37.7 kB / 475 MB, free: 5.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.1995, allocations: 482.7 kB / 475.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.1998, allocations: 311.5 kB / 475.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.1999, allocations: 93.66 kB / 475.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.2001, allocations: 394.7 kB / 476.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006166/0.2008, allocations: 354.4 kB / 476.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008787/0.2017, allocations: 0.6101 MB / 477.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.2032, allocations: 0.9866 MB / 478.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.2032, allocations: 4 kB / 478.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002079/0.2053, allocations: 1.186 MB / 479.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.2053, allocations: 11.98 kB / 479.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.2053, allocations: 8 kB / 479.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.2056, allocations: 61.69 kB / 479.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009914/0.2066, allocations: 267.7 kB / 479.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.209, allocations: 2.631 MB / 482.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.2101, allocations: 166.3 kB / 482.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.2102, allocations: 44 kB / 482.6 MB, free: 13.5 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.0005434/0.2107, allocations: 250.3 kB / 482.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.2109, allocations: 94.86 kB / 482.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.2131, allocations: 1.118 MB / 484 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.2131, allocations: 11.98 kB / 484 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2131, allocations: 4 kB / 484 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.2131, allocations: 7.969 kB / 484 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.217, allocations: 2.734 MB / 486.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.217, allocations: 8 kB / 486.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/0.2178, allocations: 187.7 kB / 487 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.218, allocations: 66.17 kB / 487 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.2181, allocations: 24 kB / 487.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/0.2204, allocations: 2.623 MB / 489.7 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.2204, allocations: 11.94 kB / 489.7 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.2229, allocations: 1.496 MB / 491.2 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.2233, allocations: 219.6 kB / 491.4 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.2234, allocations: 24 kB / 491.4 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/0.2241, allocations: 63.91 kB / 491.5 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.2242, allocations: 80.5 kB / 491.6 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/0.2243, allocations: 35.94 kB / 491.6 MB, free: 3.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008101/0.2251, allocations: 0.5615 MB / 492.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2251, allocations: 4 kB / 492.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001062/0.2262, allocations: 291.5 kB / 492.5 MB, free: 2.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.0003277/0.2265, allocations: 171 kB / 492.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.2285, allocations: 1.106 MB / 493.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.2286, allocations: 0 / 493.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009684/0.2295, allocations: 0.6314 MB / 494.4 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.2309, allocations: 118.9 kB / 494.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.2348, allocations: 2.319 MB / 496.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/0.2354, allocations: 0.9962 MB / 497.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.2358, allocations: 95.42 kB / 497.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.2358, allocations: 0 / 497.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of Templates: time 0.02993/0.2658, allocations: 20.14 MB / 0.5059 GB, free: 9.156 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