Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.0008255/0.0008256, allocations: 92.91 kB / 16.33 MB, free: 5.934 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.000964/0.0009642, allocations: 183.4 kB / 17.22 MB, free: 5.863 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.541/1.541, allocations: 205.4 MB / 223.4 MB, free: 5.52 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.3663/0.3663, allocations: 43.55 MB / 315.2 MB, free: 8.832 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.0005148/0.000515, allocations: 15.94 kB / 384.5 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007364/0.1297, allocations: 6.664 MB / 450.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004551/0.1343, allocations: 2.152 MB / 452.2 MB, free: 4.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.1354, allocations: 31.94 kB / 452.3 MB, free: 4.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.1365, allocations: 274.4 kB / 452.5 MB, free: 3.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.1389, allocations: 0.7387 MB / 453.3 MB, free: 3.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.1408, allocations: 0.7367 MB / 454 MB, free: 2.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.1429, allocations: 1.304 MB / 455.3 MB, free: 1.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.222/0.3649, allocations: 1.519 MB / 456.8 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009389/0.3659, allocations: 0.5086 MB / 457.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.3665, allocations: 0.6436 MB / 458 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.3667, allocations: 54.72 kB / 458 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000761/0.3674, allocations: 261 kB / 458.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.3676, allocations: 235.8 kB / 458.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.3678, allocations: 241.3 kB / 458.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.369, allocations: 1.319 MB / 460.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.369, allocations: 0 / 460.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.369, allocations: 3.531 kB / 460.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.369, allocations: 0 / 460.1 MB, free: 36.2 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005696/0.3747, allocations: 2.17 MB / 462.2 MB, free: 35.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3748, allocations: 12.86 kB / 462.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009169/0.384, allocations: 1.502 MB / 463.8 MB, free: 35.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.3851, allocations: 0.6078 MB / 464.4 MB, free: 35.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.3851, allocations: 100.4 kB / 464.5 MB, free: 35.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.3853, allocations: 129.6 kB / 464.6 MB, free: 35.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.3877, allocations: 1.532 MB / 466.1 MB, free: 34.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.3877, allocations: 3.906 kB / 466.1 MB, free: 34.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.3879, allocations: 52.81 kB / 466.2 MB, free: 34.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.3879, allocations: 36.66 kB / 466.2 MB, free: 34.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.3903, allocations: 1.583 MB / 467.8 MB, free: 34.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006299/0.3966, allocations: 5.59 MB / 473.4 MB, free: 32.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.3985, allocations: 2.37 MB / 475.8 MB, free: 31.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000845/0.3994, allocations: 0.6736 MB / 476.4 MB, free: 31.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.3995, allocations: 99.16 kB / 476.5 MB, free: 31.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3996, allocations: 55.28 kB / 476.6 MB, free: 31.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.346e-06/0.3996, allocations: 0 / 476.6 MB, free: 31.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.007613/0.4072, allocations: 3.123 MB / 479.7 MB, free: 30.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4073, allocations: 94.42 kB / 479.8 MB, free: 30.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/0.4078, allocations: 478.9 kB / 480.3 MB, free: 30.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/0.4079, allocations: 48.64 kB / 480.3 MB, free: 30.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.4081, allocations: 479.5 kB / 480.8 MB, free: 30.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.4084, allocations: 440.8 kB / 481.2 MB, free: 30.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.4085, allocations: 27.53 kB / 481.2 MB, free: 30.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4086, allocations: 381.2 kB / 481.6 MB, free: 29.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007728/0.4094, allocations: 471.5 kB / 482.1 MB, free: 29.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008611/0.4103, allocations: 0.7482 MB / 482.8 MB, free: 29.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008307/0.4111, allocations: 0.5338 MB / 483.3 MB, free: 28.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4111, allocations: 3.031 kB / 483.4 MB, free: 28.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002565/0.4137, allocations: 1.647 MB / 485 MB, free: 28.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.4137, allocations: 6.594 kB / 485 MB, free: 28.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.4137, allocations: 9.188 kB / 485 MB, free: 28.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.4151, allocations: 0.5296 MB / 485.5 MB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.4158, allocations: 219.2 kB / 485.8 MB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007513/0.4234, allocations: 4.691 MB / 490.4 MB, free: 25.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.4244, allocations: 138.2 kB / 490.6 MB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.4246, allocations: 55.28 kB / 490.6 MB, free: 25 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: 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 (120): * Single equations (assignments): 119 * 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.0006532/0.4252, allocations: 275.4 kB / 490.9 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.4254, allocations: 88.61 kB / 491 MB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.4283, allocations: 1.595 MB / 492.6 MB, free: 24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.4284, allocations: 12.33 kB / 492.6 MB, free: 24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4284, allocations: 1.375 kB / 492.6 MB, free: 24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.4284, allocations: 6.328 kB / 492.6 MB, free: 24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004836/0.4333, allocations: 2.91 MB / 495.5 MB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.4333, allocations: 1.188 kB / 495.5 MB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.4339, allocations: 151.5 kB / 495.7 MB, free: 22.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.4353, allocations: 0.5188 MB / 496.2 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-05/0.4354, allocations: 25.48 kB / 496.2 MB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006704/0.4421, allocations: 4.698 MB / 0.4892 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4421, allocations: 0.7969 kB / 0.4892 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/0.446, allocations: 2.316 MB / 0.4914 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.4465, allocations: 283.9 kB / 0.4917 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.4466, allocations: 25.75 kB / 0.4917 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/0.4471, allocations: 57.45 kB / 0.4918 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.4474, allocations: 98.45 kB / 0.4919 GB, free: 17.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.4475, allocations: 38.38 kB / 0.4919 GB, free: 17.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004238/0.4479, allocations: 315.3 kB / 0.4922 GB, free: 17.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4479, allocations: 1 kB / 0.4922 GB, free: 17.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001555/0.4495, allocations: 424.8 kB / 0.4926 GB, free: 17.64 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 (86): * Single equations (assignments): 85 * 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.0003004/0.4498, allocations: 169.4 kB / 0.4928 GB, free: 17.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.4535, allocations: 1.871 MB / 0.4946 GB, free: 16.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4535, allocations: 3.734 kB / 0.4946 GB, free: 16.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.4557, allocations: 1.238 MB / 0.4958 GB, free: 16.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/0.4565, allocations: 103.8 kB / 0.4959 GB, free: 16.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.4605, allocations: 2.65 MB / 0.4985 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.4612, allocations: 1.089 MB / 0.4996 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.4615, allocations: 72.89 kB / 0.4996 GB, free: 13.72 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4615, allocations: 0 / 0.4996 GB, free: 13.72 MB / 382.1 MB Notification: Performance of Templates: time 0.02283/0.4844, allocations: 18.18 MB / 0.5174 GB, free: 1.297 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.o] Error 1