Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008014/0.0008015, allocations: 94.25 kB / 17.63 MB, free: 5.719 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.0007892/0.0007893, allocations: 179.4 kB / 18.52 MB, free: 5.172 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.504/1.504, allocations: 223.3 MB / 242.5 MB, free: 344 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.23/0.2301, allocations: 44.22 MB / 337.9 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 8.75 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1724, allocations: 61.92 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008794/0.1813, allocations: 6.644 MB / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0059/0.1873, allocations: 2.179 MB / 481 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.1879, allocations: 24 kB / 481 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007898/0.1887, allocations: 270.5 kB / 481.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.1908, allocations: 0.7303 MB / 482 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.1927, allocations: 0.7359 MB / 482.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.1943, allocations: 1.271 MB / 484 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002755/0.1971, allocations: 1.528 MB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007895/0.1979, allocations: 0.4981 MB / 486.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006875/0.1986, allocations: 0.6224 MB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.1987, allocations: 56 kB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007566/0.1995, allocations: 259.7 kB / 487 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.1997, allocations: 231 kB / 487.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.2, allocations: 241.1 kB / 487.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.2013, allocations: 1.301 MB / 488.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2014, allocations: 3.938 kB / 488.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2014, allocations: 0 / 488.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.2014, allocations: 0 / 488.8 MB, free: 13.11 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.00653/0.2079, allocations: 2.152 MB / 490.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.208, allocations: 12.56 kB / 490.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009086/0.2171, allocations: 1.396 MB / 492.3 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.2185, allocations: 0.5885 MB / 492.9 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.2186, allocations: 98.64 kB / 493 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.2188, allocations: 139.9 kB / 493.1 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.2215, allocations: 1.483 MB / 494.6 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.2215, allocations: 4 kB / 494.6 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.2217, allocations: 56 kB / 494.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.2217, allocations: 32 kB / 494.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.2244, allocations: 1.517 MB / 496.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008378/0.2328, allocations: 5.42 MB / 0.4899 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.2355, allocations: 2.175 MB / 0.492 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.2366, allocations: 0.6476 MB / 0.4926 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.2368, allocations: 114.1 kB / 0.4928 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.2369, allocations: 43.56 kB / 0.4928 GB, free: 12.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.166e-06/0.2369, allocations: 0 / 0.4928 GB, free: 12.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008319/0.2452, allocations: 3.063 MB / 0.4958 GB, free: 9.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.2454, allocations: 90.11 kB / 0.4959 GB, free: 9.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.2459, allocations: 473.8 kB / 0.4963 GB, free: 8.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-05/0.246, allocations: 41.7 kB / 0.4964 GB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.2464, allocations: 467.5 kB / 0.4968 GB, free: 8.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.2468, allocations: 417.9 kB / 0.4972 GB, free: 7.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.2469, allocations: 24 kB / 0.4972 GB, free: 7.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.247, allocations: 390.6 kB / 0.4976 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008199/0.2479, allocations: 462.4 kB / 0.498 GB, free: 7.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.2489, allocations: 0.6997 MB / 0.4987 GB, free: 6.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/0.2498, allocations: 0.5175 MB / 0.4992 GB, free: 5.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.2498, allocations: 0 / 0.4992 GB, free: 5.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002885/0.2527, allocations: 1.586 MB / 0.5008 GB, free: 4.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.2528, allocations: 8 kB / 0.5008 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2528, allocations: 8 kB / 0.5008 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.2543, allocations: 0.5281 MB / 0.5013 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.255, allocations: 195.7 kB / 0.5015 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3148/0.5698, allocations: 4.708 MB / 0.5061 GB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009288/0.5708, allocations: 125.8 kB / 0.5062 GB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.5709, allocations: 52.2 kB / 0.5063 GB, free: 44.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005807/0.5715, allocations: 267.6 kB / 0.5065 GB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.5717, allocations: 84.56 kB / 0.5066 GB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/0.5747, allocations: 1.582 MB / 0.5081 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.5747, allocations: 16 kB / 0.5082 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5747, allocations: 2.406 kB / 0.5082 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.5747, allocations: 8.016 kB / 0.5082 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/0.5794, allocations: 2.886 MB / 0.511 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5794, allocations: 1.188 kB / 0.511 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.5801, allocations: 143.3 kB / 0.5111 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.5815, allocations: 0.5127 MB / 0.5116 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.5816, allocations: 38.27 kB / 0.5117 GB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006888/0.5885, allocations: 4.685 MB / 0.5162 GB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5885, allocations: 1.375 kB / 0.5162 GB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004658/0.5932, allocations: 2.352 MB / 0.5185 GB, free: 39.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.5936, allocations: 285.4 kB / 0.5188 GB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5938, allocations: 22.45 kB / 0.5188 GB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.5943, allocations: 60.8 kB / 0.5189 GB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.5946, allocations: 94.91 kB / 0.519 GB, free: 39.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.719e-05/0.5947, allocations: 38.23 kB / 0.519 GB, free: 39.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004023/0.5951, allocations: 304.6 kB / 0.5193 GB, free: 38.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5951, allocations: 0.9062 kB / 0.5193 GB, free: 38.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001559/0.5966, allocations: 413.8 kB / 0.5197 GB, free: 38.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003252/0.597, allocations: 157.4 kB / 0.5199 GB, free: 38.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003509/0.6005, allocations: 1.846 MB / 0.5217 GB, free: 37.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6005, allocations: 1.031 kB / 0.5217 GB, free: 37.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.6027, allocations: 1.244 MB / 0.5229 GB, free: 37.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.6034, allocations: 97.98 kB / 0.523 GB, free: 37.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.6072, allocations: 2.587 MB / 0.5255 GB, free: 35.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.6077, allocations: 1.08 MB / 0.5265 GB, free: 34.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.608, allocations: 70.67 kB / 0.5266 GB, free: 34.88 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.608, allocations: 0 / 0.5266 GB, free: 34.88 MB / 382.1 MB Notification: Performance of Templates: time 0.02037/0.6284, allocations: 17.87 MB / 0.5441 GB, free: 21.46 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.IdealCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.o] Error 1