Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009064/0.0009067, allocations: 91.84 kB / 17.63 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 200.4 kB / 18.54 MB, free: 4.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2411/0.2411, allocations: 45.91 MB / 344.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 7.984 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1505, allocations: 63.46 MB / 482.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008301/0.1589, allocations: 6.676 MB / 488.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.1643, allocations: 2.21 MB / 491 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008238/0.1652, allocations: 27.94 kB / 491 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008626/0.1661, allocations: 266.5 kB / 491.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.168, allocations: 0.6018 MB / 491.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.1701, allocations: 0.8987 MB / 492.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.172, allocations: 1.277 MB / 494.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003111/0.1752, allocations: 1.512 MB / 495.6 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.1762, allocations: 0.4981 MB / 496.1 MB, free: 7.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007372/0.177, allocations: 0.6225 MB / 496.7 MB, free: 6.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1771, allocations: 56 kB / 496.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.1779, allocations: 267.8 kB / 497 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.1782, allocations: 231 kB / 497.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.1785, allocations: 241 kB / 497.5 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.1801, allocations: 1.309 MB / 498.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1801, allocations: 4 kB / 498.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1801, allocations: 0 / 498.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.1801, allocations: 0 / 498.8 MB, free: 4.688 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.007073/0.1872, allocations: 2.154 MB / 0.4892 GB, free: 2.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1873, allocations: 8.031 kB / 0.4892 GB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009829/0.1971, allocations: 1.399 MB / 0.4906 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.1987, allocations: 0.5962 MB / 0.4912 GB, free: 440 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.1988, allocations: 98.64 kB / 0.4913 GB, free: 340 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.199, allocations: 135.9 kB / 0.4914 GB, free: 204 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.202, allocations: 1.479 MB / 0.4928 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.2021, allocations: 4 kB / 0.4928 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.2022, allocations: 55.98 kB / 0.4929 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.2023, allocations: 40 kB / 0.4929 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.2051, allocations: 1.509 MB / 0.4944 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009087/0.2142, allocations: 5.658 MB / 0.4999 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/0.217, allocations: 2.178 MB / 0.5021 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.2181, allocations: 0.6515 MB / 0.5027 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.2184, allocations: 183.2 kB / 0.5029 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.2185, allocations: 51.5 kB / 0.5029 GB, free: 3.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 5.32e-06/0.2185, allocations: 0 / 0.5029 GB, free: 3.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.00868/0.2272, allocations: 3.078 MB / 0.5059 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.2273, allocations: 90.11 kB / 0.506 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007215/0.228, allocations: 461.8 kB / 0.5064 GB, free: 44 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2845/0.5125, allocations: 44.08 kB / 0.5065 GB, free: 40.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.513, allocations: 459 kB / 0.5069 GB, free: 39.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005159/0.5135, allocations: 426.8 kB / 0.5073 GB, free: 39.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.5136, allocations: 24.78 kB / 0.5074 GB, free: 39.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5138, allocations: 380 kB / 0.5077 GB, free: 39.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.5148, allocations: 461.6 kB / 0.5082 GB, free: 39.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.5161, allocations: 0.6979 MB / 0.5088 GB, free: 39.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.5172, allocations: 0.5225 MB / 0.5094 GB, free: 39.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.5172, allocations: 2.75 kB / 0.5094 GB, free: 39.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003006/0.5202, allocations: 1.584 MB / 0.5109 GB, free: 38.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.5203, allocations: 8.75 kB / 0.5109 GB, free: 38.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.5203, allocations: 6.375 kB / 0.5109 GB, free: 38.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.5219, allocations: 0.5254 MB / 0.5114 GB, free: 38.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/0.5227, allocations: 203.8 kB / 0.5116 GB, free: 38.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007411/0.5301, allocations: 4.696 MB / 0.5162 GB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/0.5311, allocations: 137.8 kB / 0.5163 GB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.5311, allocations: 48.42 kB / 0.5164 GB, free: 35.3 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.0005012/0.5317, allocations: 269.2 kB / 0.5166 GB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.5318, allocations: 82.61 kB / 0.5167 GB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.5346, allocations: 1.58 MB / 0.5183 GB, free: 34.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.5346, allocations: 16.94 kB / 0.5183 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5347, allocations: 1.281 kB / 0.5183 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.5347, allocations: 8.391 kB / 0.5183 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004727/0.5394, allocations: 2.887 MB / 0.5211 GB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.5394, allocations: 4.719 kB / 0.5211 GB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.5401, allocations: 146.1 kB / 0.5213 GB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.5414, allocations: 0.5184 MB / 0.5218 GB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-05/0.5415, allocations: 25.78 kB / 0.5218 GB, free: 32.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007161/0.5487, allocations: 4.684 MB / 0.5264 GB, free: 29.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5487, allocations: 1.469 kB / 0.5264 GB, free: 29.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003998/0.5527, allocations: 2.347 MB / 0.5287 GB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.5532, allocations: 286 kB / 0.5289 GB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.5533, allocations: 21.69 kB / 0.5289 GB, free: 28.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.5539, allocations: 56.16 kB / 0.529 GB, free: 28.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.5542, allocations: 105 kB / 0.5291 GB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.5542, allocations: 33.84 kB / 0.5291 GB, free: 28.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003412/0.5546, allocations: 304.8 kB / 0.5294 GB, free: 28.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5546, allocations: 0 / 0.5294 GB, free: 28.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001305/0.5559, allocations: 419.3 kB / 0.5298 GB, free: 27.91 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.0002847/0.5562, allocations: 168.1 kB / 0.53 GB, free: 27.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003372/0.5596, allocations: 1.847 MB / 0.5318 GB, free: 26.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5596, allocations: 320 / 0.5318 GB, free: 26.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.5616, allocations: 1.235 MB / 0.533 GB, free: 26.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.5624, allocations: 102.8 kB / 0.5331 GB, free: 26.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.5656, allocations: 2.617 MB / 0.5356 GB, free: 24.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.566, allocations: 1.071 MB / 0.5367 GB, free: 23.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.5662, allocations: 70.02 kB / 0.5368 GB, free: 23.96 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5662, allocations: 4 kB / 0.5368 GB, free: 23.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01786/0.5841, allocations: 17.91 MB / 0.5542 GB, free: 7.266 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.o] Error 1