Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009068/0.0009065, 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.001094/0.001094, 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.544/1.544, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2493/0.2493, allocations: 45.91 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 8 kB / 418.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 63.47 MB / 482.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008363/0.1718, allocations: 6.446 MB / 488.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005198/0.177, allocations: 2.172 MB / 490.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.1784, allocations: 27.94 kB / 490.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.1798, allocations: 254.5 kB / 491 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.1824, allocations: 0.5866 MB / 491.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.1843, allocations: 0.6073 MB / 492.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.1865, allocations: 1.132 MB / 493.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003446/0.1899, allocations: 1.512 MB / 494.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.191, allocations: 426.2 kB / 495.3 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.1921, allocations: 0.5679 MB / 495.8 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.1924, allocations: 52 kB / 495.9 MB, free: 7.547 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000983/0.1934, allocations: 227.8 kB / 496.1 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.1938, allocations: 207.1 kB / 496.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005248/0.1943, allocations: 225.1 kB / 496.5 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.1958, allocations: 1.204 MB / 497.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1958, allocations: 0 / 497.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1958, allocations: 4 kB / 497.7 MB, free: 5.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.1958, allocations: 0 / 497.7 MB, free: 5.684 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004006/0.1999, allocations: 1.589 MB / 499.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1999, allocations: 12.03 kB / 499.3 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008938/0.2089, allocations: 1.333 MB / 0.4889 GB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.2101, allocations: 0.5557 MB / 0.4895 GB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.562e-05/0.2102, allocations: 94.66 kB / 0.4896 GB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.2104, allocations: 139.9 kB / 0.4897 GB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.2128, allocations: 1.23 MB / 0.4909 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.2129, allocations: 3.984 kB / 0.4909 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.213, allocations: 56 kB / 0.491 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.213, allocations: 32 kB / 0.491 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.2155, allocations: 1.447 MB / 0.4924 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009352/0.2249, allocations: 5.872 MB / 0.4981 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.2276, allocations: 0.9524 MB / 0.4991 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009227/0.2286, allocations: 367.8 kB / 0.4994 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.2289, allocations: 183.2 kB / 0.4996 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/0.2289, allocations: 51.5 kB / 0.4997 GB, free: 7.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 4.659e-06/0.2289, allocations: 0 / 0.4997 GB, free: 7.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.00394/0.2329, allocations: 1.21 MB / 0.5008 GB, free: 5.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.2331, allocations: 64.41 kB / 0.5009 GB, free: 5.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.2351, allocations: 0.8169 MB / 0.5017 GB, free: 4.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.2352, allocations: 41.7 kB / 0.5017 GB, free: 4.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006007/0.2358, allocations: 0.5025 MB / 0.5022 GB, free: 4.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/0.2363, allocations: 303.5 kB / 0.5025 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/0.2364, allocations: 28 kB / 0.5025 GB, free: 4.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.2367, allocations: 394.7 kB / 0.5029 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.2377, allocations: 346.5 kB / 0.5032 GB, free: 3.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.239, allocations: 0.6188 MB / 0.5039 GB, free: 2.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.2402, allocations: 434.8 kB / 0.5043 GB, free: 2.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.2402, allocations: 4 kB / 0.5043 GB, free: 2.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003231/0.2435, allocations: 1.178 MB / 0.5054 GB, free: 0.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.2435, allocations: 12 kB / 0.5054 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/0.2436, allocations: 12.06 kB / 0.5054 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004626/0.2441, allocations: 69.61 kB / 0.5055 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.2455, allocations: 259.6 kB / 0.5058 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3309/0.5764, allocations: 2.627 MB / 0.5083 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.5779, allocations: 154.2 kB / 0.5085 GB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.5781, allocations: 49.44 kB / 0.5085 GB, free: 36.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (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.0006734/0.5788, allocations: 269.9 kB / 0.5088 GB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.5791, allocations: 92.22 kB / 0.5089 GB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.5821, allocations: 1.119 MB / 0.51 GB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.5822, allocations: 10.42 kB / 0.51 GB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5822, allocations: 0.75 kB / 0.51 GB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.178e-05/0.5822, allocations: 9.375 kB / 0.51 GB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/0.5882, allocations: 3.151 MB / 0.5131 GB, free: 34.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.5883, allocations: 9.484 kB / 0.5131 GB, free: 34.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.5893, allocations: 181.2 kB / 0.5132 GB, free: 34.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002948/0.5896, allocations: 63.75 kB / 0.5133 GB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.569e-05/0.5897, allocations: 29.14 kB / 0.5133 GB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.5917, allocations: 2.629 MB / 0.5159 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.5917, allocations: 10 kB / 0.5159 GB, free: 32.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.5948, allocations: 1.48 MB / 0.5173 GB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.5952, allocations: 216.5 kB / 0.5176 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.5954, allocations: 24.58 kB / 0.5176 GB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/0.5964, allocations: 57.56 kB / 0.5176 GB, free: 30.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.5966, allocations: 88.55 kB / 0.5177 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/0.5967, allocations: 31.7 kB / 0.5177 GB, free: 30.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.5979, allocations: 0.5708 MB / 0.5183 GB, free: 30.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5979, allocations: 5.031 kB / 0.5183 GB, free: 30.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001893/0.5998, allocations: 309.1 kB / 0.5186 GB, free: 30.55 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 (93): * Single equations (assignments): 91 * 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.0004041/0.6002, allocations: 173.2 kB / 0.5188 GB, free: 30.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002792/0.603, allocations: 1.088 MB / 0.5198 GB, free: 29.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.603, allocations: 1.219 kB / 0.5198 GB, free: 29.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.6044, allocations: 0.6251 MB / 0.5204 GB, free: 29.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.6057, allocations: 119.6 kB / 0.5206 GB, free: 29.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.6105, allocations: 2.256 MB / 0.5228 GB, free: 27.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009298/0.6114, allocations: 1.015 MB / 0.5237 GB, free: 27.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005969/0.612, allocations: 96.17 kB / 0.5238 GB, free: 27.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.6121, allocations: 4 kB / 0.5238 GB, free: 27.24 MB / 382.1 MB Notification: Performance of Templates: time 0.02977/0.6418, allocations: 21.15 MB / 0.5445 GB, free: 15.55 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.o] Error 1