Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 98.88 kB / 16.02 MB, free: 76 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.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.305 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.001162/0.001162, allocations: 180.5 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5222/0.5222, allocations: 78.55 MB / 420.9 MB, free: 4.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004103, allocations: 8 kB / 0.4893 GB, free: 6.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1597, allocations: 69.37 MB / 0.557 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.3186/0.4784, allocations: 6.009 MB / 0.5629 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.4821, allocations: 1.883 MB / 0.5647 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005795/0.4827, allocations: 13.22 kB / 0.5647 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.4831, allocations: 161.5 kB / 0.5649 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.4845, allocations: 0.6143 MB / 0.5655 GB, free: 35.02 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_Inputs_Outputs.xq <> order4_Inputs_Outputs.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.4858, allocations: 0.5907 MB / 0.5661 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.4869, allocations: 1.286 MB / 0.5673 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.4873, allocations: 254.7 kB / 0.5676 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.4878, allocations: 0.4944 MB / 0.5681 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.4883, allocations: 0.6262 MB / 0.5687 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.349e-05/0.4884, allocations: 57.16 kB / 0.5687 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.4888, allocations: 180 kB / 0.5689 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.4889, allocations: 212.8 kB / 0.5691 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.4893, allocations: 0.5518 MB / 0.5696 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008298/0.4901, allocations: 1.07 MB / 0.5707 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.4901, allocations: 0 / 0.5707 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4902, allocations: 0 / 0.5707 GB, free: 33.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.4902, allocations: 0.5 kB / 0.5707 GB, free: 33.69 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.006878/0.4971, allocations: 2.274 MB / 0.5729 GB, free: 32.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4971, allocations: 11.25 kB / 0.5729 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004829/0.502, allocations: 0.7762 MB / 0.5737 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.5033, allocations: 0.733 MB / 0.5744 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/0.5036, allocations: 275.7 kB / 0.5747 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.5037, allocations: 78.19 kB / 0.5747 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.5061, allocations: 1.173 MB / 0.5759 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.5061, allocations: 0 / 0.5759 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-05/0.5062, allocations: 30.88 kB / 0.5759 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.5062, allocations: 17.38 kB / 0.5759 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.5084, allocations: 1.124 MB / 0.577 GB, free: 32.1 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006021/0.5144, allocations: 3.537 MB / 0.5805 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.517, allocations: 1.545 MB / 0.582 GB, free: 30.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.5185, allocations: 0.821 MB / 0.5828 GB, free: 30.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.041e-05/0.5186, allocations: 11.19 kB / 0.5828 GB, free: 30.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.5187, allocations: 49.06 kB / 0.5828 GB, free: 30.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.675e-06/0.5187, allocations: 0 / 0.5828 GB, free: 30.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02954/0.5482, allocations: 8.547 MB / 0.5912 GB, free: 28.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.5483, allocations: 85.58 kB / 0.5913 GB, free: 28.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.5495, allocations: 0.8194 MB / 0.5921 GB, free: 28.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.5498, allocations: 45.33 kB / 0.5921 GB, free: 28.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.5501, allocations: 455.9 kB / 0.5925 GB, free: 27.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.5504, allocations: 323.8 kB / 0.5929 GB, free: 27.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.5506, allocations: 106.9 kB / 0.593 GB, free: 27.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.5507, allocations: 354.6 kB / 0.5933 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.5524, allocations: 0.7822 MB / 0.5941 GB, free: 26.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.5543, allocations: 0.9221 MB / 0.595 GB, free: 26.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.5578, allocations: 1.673 MB / 0.5966 GB, free: 25.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.5578, allocations: 1.375 kB / 0.5966 GB, free: 25.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01624/0.574, allocations: 5.15 MB / 0.6016 GB, free: 24.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.5742, allocations: 163.3 kB / 0.6018 GB, free: 24.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.5742, allocations: 2.594 kB / 0.6018 GB, free: 24.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007467/0.5817, allocations: 2.1 MB / 0.6038 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.5828, allocations: 206.8 kB / 0.604 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/0.6062, allocations: 9.56 MB / 0.6134 GB, free: 19.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.6081, allocations: 201.4 kB / 0.6136 GB, free: 19.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-05/0.6082, allocations: 49.25 kB / 0.6136 GB, free: 19.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.6082, allocations: 5.094 kB / 0.6136 GB, free: 19.21 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01409/0.6223, allocations: 4.996 MB / 0.6185 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.6224, allocations: 7.938 kB / 0.6185 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006114/0.6285, allocations: 2.102 MB / 0.6205 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.6295, allocations: 199.7 kB / 0.6207 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/0.6485, allocations: 9.535 MB / 0.63 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.6501, allocations: 185 kB / 0.6302 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/0.6502, allocations: 45.08 kB / 0.6303 GB, free: 2.379 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005043/0.6507, allocations: 308.8 kB / 0.6306 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.6508, allocations: 111.3 kB / 0.6307 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.6645, allocations: 4.826 MB / 0.6354 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.6645, allocations: 11.94 kB / 0.6354 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6645, allocations: 4 kB / 0.6354 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.6646, allocations: 3.984 kB / 0.6354 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.6812, allocations: 6.492 MB / 0.6417 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.6813, allocations: 0 / 0.6417 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.682, allocations: 123.9 kB / 0.6419 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006425/0.6884, allocations: 2.051 MB / 0.6439 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.6886, allocations: 29.8 kB / 0.6439 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/0.7084, allocations: 8.195 MB / 0.6519 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7084, allocations: 5.406 kB / 0.6519 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01686/0.7253, allocations: 5.856 MB / 0.6576 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/0.7258, allocations: 195.5 kB / 0.6578 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/0.7262, allocations: 16 kB / 0.6578 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.7275, allocations: 140.7 kB / 0.658 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006714/0.7282, allocations: 200.6 kB / 0.6581 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.7282, allocations: 25.59 kB / 0.6582 GB, free: 5.453 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007486/0.729, allocations: 0.551 MB / 0.6587 GB, free: 4.891 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.729, allocations: 0 / 0.6587 GB, free: 4.891 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002212/0.7312, allocations: 0.6906 MB / 0.6594 GB, free: 4.199 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002746/0.7315, allocations: 127.1 kB / 0.6595 GB, free: 4.062 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01268/0.7442, allocations: 4.657 MB / 0.664 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.7443, allocations: 0 / 0.664 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005144/0.7494, allocations: 1.743 MB / 0.6658 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.7505, allocations: 88.83 kB / 0.6658 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.7546, allocations: 2.563 MB / 0.6683 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/0.7553, allocations: 1.082 MB / 0.6694 GB, free: 9.875 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.7556, allocations: 71.42 kB / 0.6695 GB, free: 9.805 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/0.7556, allocations: 0 / 0.6695 GB, free: 9.805 MB / 478.1 MB Notification: Performance of Templates: time 0.03004/0.7856, allocations: 20.02 MB / 0.689 GB, free: 5.902 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVRCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVRCalcHelperMain.o] Error 1