Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.0008251/0.0008249, allocations: 88.03 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.0009346/0.0009346, 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.503/1.503, allocations: 223.2 MB / 242.5 MB, free: 336 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.25/0.25, allocations: 44.22 MB / 337.9 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 5.688 kB / 410.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 61.92 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00753/0.1803, allocations: 5.963 MB / 478.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005338/0.1857, allocations: 2.032 MB / 480.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.1872, allocations: 20 kB / 480.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.1887, allocations: 238.6 kB / 480.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.1917, allocations: 0.6995 MB / 481.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.1936, allocations: 486.5 kB / 481.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.1962, allocations: 1.05 MB / 482.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.1995, allocations: 1.275 MB / 483.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.2005, allocations: 398.4 kB / 484.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.2016, allocations: 0.5096 MB / 484.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003655/0.202, allocations: 52 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.2031, allocations: 215.8 kB / 485.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003145/0.2035, allocations: 187.1 kB / 485.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.204, allocations: 213.1 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.2055, allocations: 1.087 MB / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.2055, allocations: 0 / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2055, allocations: 0 / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.2056, allocations: 7.938 kB / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003907/0.2095, allocations: 1.471 MB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.2095, allocations: 16.02 kB / 488.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008785/0.2183, allocations: 1.333 MB / 489.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.2198, allocations: 0.5207 MB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-05/0.2199, allocations: 90.36 kB / 490 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.2201, allocations: 120 kB / 490.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/0.2225, allocations: 1.141 MB / 491.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.2225, allocations: 7.906 kB / 491.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.2226, allocations: 48 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.2227, allocations: 32 kB / 491.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/0.2251, allocations: 1.368 MB / 492.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00752/0.2326, allocations: 4.693 MB / 497.4 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.2344, allocations: 0.9324 MB / 498.3 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/0.235, allocations: 367.7 kB / 498.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.2351, allocations: 102.1 kB / 498.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.2352, allocations: 51.5 kB / 498.8 MB, free: 2.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 3.336e-06/0.2352, allocations: 0 / 498.8 MB, free: 2.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002312/0.2375, allocations: 1.198 MB / 0.4883 GB, free: 1.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.2376, allocations: 64.39 kB / 0.4884 GB, free: 1.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009931/0.2386, allocations: 0.7738 MB / 0.4891 GB, free: 432 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.2386, allocations: 37.7 kB / 0.4892 GB, free: 388 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/0.239, allocations: 470.9 kB / 0.4896 GB, free: 15.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.2393, allocations: 307.6 kB / 0.4899 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.2393, allocations: 20 kB / 0.4899 GB, free: 15.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.2396, allocations: 394.7 kB / 0.4903 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.2402, allocations: 334.5 kB / 0.4906 GB, free: 14.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007662/0.2409, allocations: 0.5661 MB / 0.4912 GB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.2417, allocations: 410.9 kB / 0.4916 GB, free: 13.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.2417, allocations: 3.953 kB / 0.4916 GB, free: 13.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00194/0.2436, allocations: 1.131 MB / 0.4927 GB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.2437, allocations: 8 kB / 0.4927 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.2437, allocations: 8.562 kB / 0.4927 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.244, allocations: 65.67 kB / 0.4928 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009225/0.2449, allocations: 251.6 kB / 0.493 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.2471, allocations: 2.631 MB / 0.4956 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008465/0.248, allocations: 146.3 kB / 0.4957 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/0.2481, allocations: 43.98 kB / 0.4958 GB, free: 9.242 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00049/0.2486, allocations: 253.6 kB / 0.496 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.2487, allocations: 86.88 kB / 0.4961 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.2507, allocations: 1.106 MB / 0.4972 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.2507, allocations: 8 kB / 0.4972 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2507, allocations: 7.938 kB / 0.4972 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.2507, allocations: 3.984 kB / 0.4972 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.2547, allocations: 2.708 MB / 0.4998 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.2547, allocations: 4 kB / 0.4998 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/0.2554, allocations: 187.8 kB / 0.5 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002189/0.2557, allocations: 61.67 kB / 0.5001 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.2557, allocations: 24 kB / 0.5001 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.2578, allocations: 2.619 MB / 0.5027 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.2579, allocations: 11.94 kB / 0.5027 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.2601, allocations: 1.463 MB / 0.5041 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3454/0.6055, allocations: 208.5 kB / 0.5043 GB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004467/0.606, allocations: 23.86 kB / 0.5043 GB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.6071, allocations: 57.42 kB / 0.5044 GB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/0.6074, allocations: 76.67 kB / 0.5044 GB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.6076, allocations: 34.39 kB / 0.5045 GB, free: 46.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.6088, allocations: 0.5504 MB / 0.505 GB, free: 46.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6088, allocations: 0 / 0.505 GB, free: 46.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001503/0.6103, allocations: 287.7 kB / 0.5053 GB, free: 46.23 MB / 382.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 (92): * Single equations (assignments): 90 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004004/0.6107, allocations: 170.2 kB / 0.5054 GB, free: 46.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.613, allocations: 1.057 MB / 0.5065 GB, free: 45.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.613, allocations: 2.406 kB / 0.5065 GB, free: 45.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.6142, allocations: 0.6189 MB / 0.5071 GB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6153, allocations: 118.2 kB / 0.5072 GB, free: 45.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.619, allocations: 2.139 MB / 0.5093 GB, free: 44.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/0.6198, allocations: 0.9917 MB / 0.5103 GB, free: 43.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.6202, allocations: 90.42 kB / 0.5103 GB, free: 43.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6202, allocations: 0 / 0.5103 GB, free: 43.8 MB / 382.1 MB Notification: Performance of Templates: time 0.03065/0.6509, allocations: 19.77 MB / 0.5296 GB, free: 35.85 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.o] Error 1