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.0008343/0.0008343, 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.516/1.516, allocations: 223.3 MB / 239.7 MB, free: 5.531 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.001422/0.001422, allocations: 179.9 kB / 290.9 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5984/0.5984, allocations: 78.56 MB / 420.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003748, allocations: 11.94 kB / 0.4887 GB, free: 6.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1835, allocations: 69.36 MB / 0.5564 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.3623/0.5459, allocations: 5.637 MB / 0.5619 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.5504, allocations: 1.801 MB / 0.5637 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008122/0.5512, allocations: 15.28 kB / 0.5637 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.5517, allocations: 146.5 kB / 0.5638 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.5534, allocations: 0.5755 MB / 0.5644 GB, free: 36.92 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.001414/0.5548, allocations: 0.5372 MB / 0.5649 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.5563, allocations: 1.227 MB / 0.5661 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.5567, allocations: 230.9 kB / 0.5663 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005847/0.5572, allocations: 493.5 kB / 0.5668 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/0.5578, allocations: 0.6092 MB / 0.5674 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-05/0.558, allocations: 49.03 kB / 0.5675 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.5584, allocations: 178.6 kB / 0.5676 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.5586, allocations: 206 kB / 0.5678 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.5587, allocations: 210.3 kB / 0.568 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009506/0.5597, allocations: 1.068 MB / 0.5691 GB, free: 35.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.5597, allocations: 0 / 0.5691 GB, free: 35.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5597, allocations: 0.6562 kB / 0.5691 GB, free: 35.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.5597, allocations: 5.156 kB / 0.5691 GB, free: 35.93 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.006429/0.5662, allocations: 2.287 MB / 0.5713 GB, free: 35.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5662, allocations: 9.438 kB / 0.5713 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/0.5709, allocations: 0.7807 MB / 0.5721 GB, free: 35.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.5725, allocations: 0.7009 MB / 0.5728 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.5728, allocations: 270.3 kB / 0.573 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.5729, allocations: 72.06 kB / 0.5731 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.5754, allocations: 1.168 MB / 0.5742 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.5755, allocations: 0 / 0.5742 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/0.5756, allocations: 27.81 kB / 0.5742 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.5756, allocations: 20.19 kB / 0.5743 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.578, allocations: 1.121 MB / 0.5754 GB, free: 34.38 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.006462/0.5844, allocations: 3.531 MB / 0.5788 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.5868, allocations: 1.539 MB / 0.5803 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.5882, allocations: 0.8203 MB / 0.5811 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.5883, allocations: 14.31 kB / 0.5811 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.5884, allocations: 47.38 kB / 0.5812 GB, free: 31.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.206e-06/0.5884, allocations: 0 / 0.5812 GB, free: 31.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.0267/0.6151, allocations: 8.501 MB / 0.5895 GB, free: 29.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.6152, allocations: 91.64 kB / 0.5896 GB, free: 29.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.6166, allocations: 0.8157 MB / 0.5904 GB, free: 29.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003113/0.6169, allocations: 45.45 kB / 0.5904 GB, free: 29.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.6173, allocations: 455 kB / 0.5908 GB, free: 28.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/0.6177, allocations: 326.9 kB / 0.5911 GB, free: 28.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.6178, allocations: 25.22 kB / 0.5912 GB, free: 28.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6179, allocations: 346.9 kB / 0.5915 GB, free: 28.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.6196, allocations: 0.781 MB / 0.5923 GB, free: 28.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.6214, allocations: 0.9141 MB / 0.5932 GB, free: 27.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.6233, allocations: 0.824 MB / 0.594 GB, free: 27.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.6233, allocations: 0 / 0.594 GB, free: 27.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01593/0.6392, allocations: 5.117 MB / 0.599 GB, free: 26.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.6394, allocations: 161 kB / 0.5991 GB, free: 25.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.6395, allocations: 5.844 kB / 0.5991 GB, free: 25.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007581/0.647, allocations: 2.106 MB / 0.6012 GB, free: 25.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.6484, allocations: 200.3 kB / 0.6014 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/0.6716, allocations: 9.544 MB / 0.6107 GB, free: 21.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.6734, allocations: 209.8 kB / 0.6109 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.6735, allocations: 38.23 kB / 0.6109 GB, free: 21.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6735, allocations: 3.812 kB / 0.6109 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01303/0.6866, allocations: 4.966 MB / 0.6158 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.451e-05/0.6867, allocations: 4 kB / 0.6158 GB, free: 17.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006053/0.6928, allocations: 2.103 MB / 0.6178 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.694, allocations: 196.4 kB / 0.618 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/0.7138, allocations: 9.527 MB / 0.6273 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.7157, allocations: 188.2 kB / 0.6275 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/0.7161, allocations: 39.98 kB / 0.6275 GB, free: 4.93 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 (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 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0009557/0.717, allocations: 316.8 kB / 0.6278 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.7175, allocations: 111.9 kB / 0.628 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.7294, allocations: 4.814 MB / 0.6327 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.7295, allocations: 8 kB / 0.6327 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7295, allocations: 0 / 0.6327 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.224e-05/0.7296, allocations: 7.984 kB / 0.6327 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.7473, allocations: 6.492 MB / 0.639 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/0.7474, allocations: 3.984 kB / 0.639 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/0.7482, allocations: 120.4 kB / 0.6391 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006381/0.7546, allocations: 2.048 MB / 0.6411 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002902/0.7549, allocations: 23.98 kB / 0.6412 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.7738, allocations: 8.184 MB / 0.6491 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.7738, allocations: 1 kB / 0.6491 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/0.7901, allocations: 5.842 MB / 0.6549 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007759/0.7909, allocations: 203.9 kB / 0.655 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006065/0.7916, allocations: 16 kB / 0.6551 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.7929, allocations: 143.9 kB / 0.6552 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008164/0.7938, allocations: 200.6 kB / 0.6554 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.794, allocations: 23.98 kB / 0.6554 GB, free: 8.043 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.7952, allocations: 0.5432 MB / 0.6559 GB, free: 7.488 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7952, allocations: 6.062 kB / 0.6559 GB, free: 7.484 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003281/0.7985, allocations: 0.6905 MB / 0.6566 GB, free: 6.793 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 (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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003935/0.7989, allocations: 127.6 kB / 0.6567 GB, free: 6.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01207/0.811, allocations: 4.641 MB / 0.6613 GB, free: 2.004 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.811, allocations: 0 / 0.6613 GB, free: 2.004 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00466/0.8157, allocations: 1.736 MB / 0.663 GB, free: 264 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.8171, allocations: 92.08 kB / 0.6631 GB, free: 168 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005269/0.8224, allocations: 2.458 MB / 0.6655 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.8235, allocations: 1.082 MB / 0.6665 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.8238, allocations: 67.42 kB / 0.6666 GB, free: 12.53 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.8239, allocations: 0 / 0.6666 GB, free: 12.53 MB / 478.1 MB Notification: Performance of Templates: time 0.03701/0.8609, allocations: 20.05 MB / 0.6862 GB, free: 8.598 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++ 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_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