Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008517, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 239.7 MB, free: 5.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 188.5 kB / 290.9 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5702/0.5702, allocations: 79.47 MB / 421.5 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004039, allocations: 12 kB / 0.4897 GB, free: 5.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1696, allocations: 69.51 MB / 0.5576 GB, free: 12 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.314/0.4836, allocations: 4.005 MB / 0.5615 GB, free: 38.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.4865, allocations: 1.207 MB / 0.5627 GB, free: 37.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.4868, allocations: 6.969 kB / 0.5627 GB, free: 37.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.4871, allocations: 106.6 kB / 0.5628 GB, free: 37.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.4876, allocations: 212.8 kB / 0.563 GB, free: 37.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.4886, allocations: 476.3 kB / 0.5635 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007229/0.4894, allocations: 0.7329 MB / 0.5642 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.4897, allocations: 161.7 kB / 0.5643 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.49, allocations: 289.5 kB / 0.5646 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.4904, allocations: 366.6 kB / 0.565 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.43e-05/0.4905, allocations: 38.91 kB / 0.565 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.4908, allocations: 93.59 kB / 0.5651 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4909, allocations: 136.6 kB / 0.5652 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.491, allocations: 149.9 kB / 0.5654 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006134/0.4917, allocations: 0.6674 MB / 0.566 GB, free: 37.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4917, allocations: 2.906 kB / 0.566 GB, free: 37.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4917, allocations: 3.938 kB / 0.566 GB, free: 37.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.4917, allocations: 0 / 0.566 GB, free: 37.13 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003706/0.4954, allocations: 1.464 MB / 0.5675 GB, free: 36.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.4955, allocations: 8.25 kB / 0.5675 GB, free: 36.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/0.4978, allocations: 430.3 kB / 0.5679 GB, free: 36.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.4985, allocations: 482.1 kB / 0.5683 GB, free: 36.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.4988, allocations: 204.7 kB / 0.5685 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4989, allocations: 56.81 kB / 0.5686 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.5003, allocations: 0.7324 MB / 0.5693 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5004, allocations: 0.5312 kB / 0.5693 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/0.5005, allocations: 28.98 kB / 0.5693 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.5005, allocations: 13.56 kB / 0.5693 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.5019, allocations: 0.7281 MB / 0.5701 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/0.5056, allocations: 2.183 MB / 0.5722 GB, free: 35.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007024/0.5127, allocations: 2.75 MB / 0.5749 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009398/0.5136, allocations: 0.51 MB / 0.5754 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-05/0.5137, allocations: 9.828 kB / 0.5754 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.5152, allocations: 0.5704 MB / 0.5759 GB, free: 34.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 4.318e-06/0.5152, allocations: 4 kB / 0.5759 GB, free: 34.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01228/0.5275, allocations: 4.323 MB / 0.5802 GB, free: 33.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.5276, allocations: 62.25 kB / 0.5802 GB, free: 33.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007968/0.5284, allocations: 0.5038 MB / 0.5807 GB, free: 32.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.5285, allocations: 51 kB / 0.5808 GB, free: 32.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.5288, allocations: 316.8 kB / 0.5811 GB, free: 32.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.5291, allocations: 256 kB / 0.5813 GB, free: 32.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.5291, allocations: 14.81 kB / 0.5813 GB, free: 32.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.5293, allocations: 380.9 kB / 0.5817 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.5304, allocations: 449.1 kB / 0.5821 GB, free: 31.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.5315, allocations: 0.5404 MB / 0.5826 GB, free: 31.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.5326, allocations: 470.8 kB / 0.5831 GB, free: 31.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.5326, allocations: 4 kB / 0.5831 GB, free: 31.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007491/0.5401, allocations: 2.655 MB / 0.5857 GB, free: 30.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.5402, allocations: 5.5 kB / 0.5857 GB, free: 30.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.5402, allocations: 2.312 kB / 0.5857 GB, free: 30.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004107/0.5443, allocations: 1.182 MB / 0.5868 GB, free: 30.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.545, allocations: 116.9 kB / 0.587 GB, free: 30.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.5554, allocations: 4.471 MB / 0.5913 GB, free: 28.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.5565, allocations: 128.3 kB / 0.5914 GB, free: 27.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.5567, allocations: 27.03 kB / 0.5915 GB, free: 27.98 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y2l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean ultc.y3l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean load.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$PRE.ultc.y2l0,$PRE.ultc.y3l0,ultc.zeroCrossing.y,$PRE.ultc.zeroCrossing.disable,ultc.zeroCrossing.disable,$PRE.ultc.zeroCrossing.u_pos,ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.enable,ultc.zeroCrossing.enable,$PRE.ultc.m,ultc.m,ultc.y2l0,ultc.y3l0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007024/0.5574, allocations: 207.1 kB / 0.5917 GB, free: 27.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.5577, allocations: 71.28 kB / 0.5917 GB, free: 27.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007666/0.5654, allocations: 2.6 MB / 0.5943 GB, free: 27.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.5654, allocations: 8.25 kB / 0.5943 GB, free: 27.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5655, allocations: 0 / 0.5943 GB, free: 27.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/0.5655, allocations: 6.812 kB / 0.5943 GB, free: 27.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.5764, allocations: 3.611 MB / 0.5978 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.5765, allocations: 0.5625 kB / 0.5978 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.577, allocations: 82.98 kB / 0.5979 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004744/0.5818, allocations: 1.181 MB / 0.5991 GB, free: 25.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.5819, allocations: 24.11 kB / 0.5991 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/0.5926, allocations: 4.423 MB / 0.6034 GB, free: 23.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5926, allocations: 0 / 0.6034 GB, free: 23.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009884/0.6025, allocations: 3.227 MB / 0.6065 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.6029, allocations: 156.5 kB / 0.6067 GB, free: 22.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.6032, allocations: 18.41 kB / 0.6067 GB, free: 22.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007294/0.6039, allocations: 81.09 kB / 0.6068 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006608/0.6046, allocations: 153.9 kB / 0.6069 GB, free: 22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.203e-05/0.6047, allocations: 19.19 kB / 0.607 GB, free: 22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007341/0.6054, allocations: 350 kB / 0.6073 GB, free: 21.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6054, allocations: 0 / 0.6073 GB, free: 21.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001499/0.607, allocations: 264.3 kB / 0.6075 GB, free: 21.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ultc.x1,load.xp,load.xq) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,ultc.m,ultc.y2l0,ultc.y3l0,ultc.zeroCrossing.y,ultc.zeroCrossing.disable,ultc.zeroCrossing.u_pos) * Number of discrete states: 5 (ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.y2l0,ultc.y3l0,ultc.m) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003311/0.6073, allocations: 124.4 kB / 0.6077 GB, free: 21.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004893/0.6122, allocations: 1.747 MB / 0.6094 GB, free: 20.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6122, allocations: 1.875 kB / 0.6094 GB, free: 20.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003503/0.6157, allocations: 1.244 MB / 0.6106 GB, free: 20.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.617, allocations: 62.98 kB / 0.6106 GB, free: 20.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.621, allocations: 1.539 MB / 0.6121 GB, free: 19.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.6217, allocations: 0.9337 MB / 0.6131 GB, free: 18.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.622, allocations: 50.06 kB / 0.6131 GB, free: 18.31 MB / 430.1 MB Notification: Performance of SimCode: time 1.523e-06/0.622, allocations: 0 / 0.6131 GB, free: 18.31 MB / 430.1 MB Notification: Performance of Templates: time 0.02434/0.6463, allocations: 18 MB / 0.6307 GB, free: 1.602 MB / 430.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.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 OMCppOpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTCCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTCCalcHelperMain.o] Error 1