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.0008112/0.0008157, allocations: 99.11 kB / 16.34 MB, free: 5.949 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.0007929/0.0007931, allocations: 186.7 kB / 17.22 MB, free: 5.883 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.557/1.557, allocations: 205.4 MB / 223.4 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3767/0.3767, allocations: 43.54 MB / 315.2 MB, free: 8.863 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.0005127/0.0005128, allocations: 16 kB / 384.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1371, allocations: 58.86 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006206/0.1434, allocations: 5.96 MB / 449.4 MB, free: 7.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.1475, allocations: 2.016 MB / 451.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.148, allocations: 23.94 kB / 451.4 MB, free: 5.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.1487, allocations: 246.6 kB / 451.6 MB, free: 4.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.1504, allocations: 0.7155 MB / 452.4 MB, free: 4.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.1515, allocations: 479 kB / 452.8 MB, free: 3.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.1527, allocations: 1.081 MB / 453.9 MB, free: 2.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.1549, allocations: 1.28 MB / 455.2 MB, free: 1.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006317/0.1556, allocations: 406.3 kB / 455.6 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005557/0.1561, allocations: 0.5329 MB / 456.1 MB, free: 280 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.145e-05/0.1562, allocations: 44 kB / 456.2 MB, free: 236 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006169/0.1569, allocations: 219.8 kB / 456.4 MB, free: 16 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2674/0.4242, allocations: 194.6 kB / 456.6 MB, free: 37.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006593/0.425, allocations: 212.7 kB / 456.8 MB, free: 37.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.4268, allocations: 1.11 MB / 457.9 MB, free: 37.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.4268, allocations: 0 / 457.9 MB, free: 37.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4268, allocations: 0 / 457.9 MB, free: 37.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.4268, allocations: 6.812 kB / 457.9 MB, free: 37.34 MB / 382.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.003445/0.4303, allocations: 1.486 MB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.4303, allocations: 8.406 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009409/0.4397, allocations: 1.443 MB / 460.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.4411, allocations: 0.5282 MB / 461.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.4411, allocations: 89.83 kB / 461.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.4413, allocations: 121 kB / 461.6 MB, free: 36.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.4435, allocations: 1.185 MB / 462.7 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.4435, allocations: 10.64 kB / 462.8 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.4437, allocations: 52.25 kB / 462.8 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.4437, allocations: 28.75 kB / 462.8 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.4458, allocations: 1.436 MB / 464.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00736/0.4531, allocations: 4.869 MB / 469.1 MB, free: 34.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.4548, allocations: 1.194 MB / 470.3 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.4554, allocations: 374.5 kB / 470.7 MB, free: 33.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.4555, allocations: 100.7 kB / 470.8 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4556, allocations: 45.12 kB / 470.8 MB, free: 33.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.935e-06/0.4556, allocations: 3 kB / 470.8 MB, free: 33.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.001881/0.4575, allocations: 1.207 MB / 472 MB, free: 33.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.4575, allocations: 61.47 kB / 472.1 MB, free: 33.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/0.4583, allocations: 0.7963 MB / 472.9 MB, free: 33.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.4584, allocations: 46.44 kB / 473 MB, free: 33.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.4586, allocations: 481.4 kB / 473.4 MB, free: 33.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.4588, allocations: 309.5 kB / 473.7 MB, free: 32.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.4588, allocations: 24.5 kB / 473.7 MB, free: 32.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.459, allocations: 395.7 kB / 474.1 MB, free: 32.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/0.4597, allocations: 345.8 kB / 474.5 MB, free: 32.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.4603, allocations: 0.6069 MB / 475.1 MB, free: 32.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.4613, allocations: 431.2 kB / 475.5 MB, free: 32.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.4613, allocations: 3.531 kB / 475.5 MB, free: 32.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002461/0.4638, allocations: 1.174 MB / 476.7 MB, free: 32.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.4638, allocations: 10.75 kB / 476.7 MB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.4638, allocations: 9.625 kB / 476.7 MB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.4642, allocations: 65.81 kB / 476.8 MB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.4654, allocations: 263.2 kB / 477 MB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.4672, allocations: 2.636 MB / 479.7 MB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.4682, allocations: 153.8 kB / 479.8 MB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.444e-05/0.4683, allocations: 50.39 kB / 479.9 MB, free: 29.44 MB / 382.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 (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.0004897/0.4688, allocations: 260.3 kB / 480.1 MB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.469, allocations: 87.75 kB / 480.2 MB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.4712, allocations: 1.112 MB / 481.3 MB, free: 29.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.4712, allocations: 15.02 kB / 481.3 MB, free: 29.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4712, allocations: 6.781 kB / 481.3 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.4712, allocations: 7.266 kB / 481.3 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.4749, allocations: 2.73 MB / 484.1 MB, free: 27.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.475, allocations: 7.25 kB / 484.1 MB, free: 27.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.4759, allocations: 180.7 kB / 484.2 MB, free: 27.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/0.4761, allocations: 64.86 kB / 484.3 MB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/0.4762, allocations: 24.31 kB / 484.3 MB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.4779, allocations: 2.618 MB / 487 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/0.4779, allocations: 8.781 kB / 487 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.4804, allocations: 1.493 MB / 488.5 MB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.4807, allocations: 217 kB / 488.7 MB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4808, allocations: 27.83 kB / 488.7 MB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.4814, allocations: 59.08 kB / 488.8 MB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4815, allocations: 83.34 kB / 488.8 MB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.4816, allocations: 40.16 kB / 488.9 MB, free: 23.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006185/0.4822, allocations: 0.5555 MB / 489.4 MB, free: 23.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4822, allocations: 0 / 489.4 MB, free: 23.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009904/0.4832, allocations: 294.5 kB / 489.7 MB, free: 23.24 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 (94): * Single equations (assignments): 92 * 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.0002619/0.4835, allocations: 172.4 kB / 489.9 MB, free: 23.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.4852, allocations: 1.092 MB / 491 MB, free: 22.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4852, allocations: 1.75 kB / 491 MB, free: 22.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008371/0.4861, allocations: 0.6229 MB / 491.6 MB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.4868, allocations: 122 kB / 491.7 MB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.4898, allocations: 2.201 MB / 493.9 MB, free: 20.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.4903, allocations: 0.9966 MB / 494.9 MB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.4906, allocations: 89.08 kB / 495 MB, free: 20.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4906, allocations: 0 / 495 MB, free: 20.08 MB / 382.1 MB Notification: Performance of Templates: time 0.03287/0.5235, allocations: 20.18 MB / 0.5031 GB, free: 13.55 MB / 382.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++ 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_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