Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09067/0.09067, allocations: 12.2 MB / 28.12 MB, free: 1.422 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007915/0.0007914, allocations: 101.7 kB / 31.65 MB, free: 4.762 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 240.5 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 181.7 kB / 291.6 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4801/0.4801, allocations: 78.53 MB / 421.1 MB, free: 48.75 MB / 334.1 MB Notification: Modelica_Synchronous 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: 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: OpenIPSL 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: Performance of FrontEnd - loaded program: time 0.0008502/0.0008502, allocations: 28 kB / 0.4907 GB, free: 2.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3691, allocations: 69.22 MB / 0.5583 GB, free: 42.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005738/0.3749, allocations: 5.895 MB / 0.5641 GB, free: 40.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004205/0.3792, allocations: 1.787 MB / 0.5658 GB, free: 39.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000672/0.3799, allocations: 10.84 kB / 0.5658 GB, free: 39.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005032/0.3804, allocations: 162 kB / 0.566 GB, free: 39.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.3821, allocations: 0.6298 MB / 0.5666 GB, free: 39.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3834, allocations: 0.5377 MB / 0.5671 GB, free: 38.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.3848, allocations: 1.28 MB / 0.5684 GB, free: 38.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.3852, allocations: 241.7 kB / 0.5686 GB, free: 38.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005667/0.3858, allocations: 0.4913 MB / 0.5691 GB, free: 37.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.3864, allocations: 0.6395 MB / 0.5697 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.3865, allocations: 52.25 kB / 0.5698 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.387, allocations: 182.5 kB / 0.5699 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.3871, allocations: 218.7 kB / 0.5702 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.3876, allocations: 0.5412 MB / 0.5707 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008455/0.3884, allocations: 1.052 MB / 0.5717 GB, free: 36.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3884, allocations: 0.9375 kB / 0.5717 GB, free: 36.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3884, allocations: 0 / 0.5717 GB, free: 36.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3884, allocations: 0 / 0.5717 GB, free: 36.65 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006994/0.3954, allocations: 2.292 MB / 0.574 GB, free: 35.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3955, allocations: 12.73 kB / 0.574 GB, free: 35.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/0.4002, allocations: 0.7612 MB / 0.5747 GB, free: 35.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.4012, allocations: 0.7606 MB / 0.5755 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.4015, allocations: 256 kB / 0.5757 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.4016, allocations: 72.25 kB / 0.5758 GB, free: 34.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.4036, allocations: 1.061 MB / 0.5768 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4036, allocations: 0 / 0.5768 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.211e-05/0.4037, allocations: 25.66 kB / 0.5768 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.4037, allocations: 17.56 kB / 0.5768 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.4057, allocations: 1.074 MB / 0.5779 GB, free: 34.04 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.004879/0.4106, allocations: 3.354 MB / 0.5812 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.4125, allocations: 1.42 MB / 0.5826 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.4139, allocations: 0.8035 MB / 0.5833 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.66e-05/0.414, allocations: 13.86 kB / 0.5834 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.414, allocations: 39.75 kB / 0.5834 GB, free: 30.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 2.785e-06/0.414, allocations: 0 / 0.5834 GB, free: 30.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02616/0.4402, allocations: 8.157 MB / 0.5914 GB, free: 29.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.4403, allocations: 65.06 kB / 0.5914 GB, free: 29.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.4414, allocations: 0.8396 MB / 0.5922 GB, free: 29.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.4416, allocations: 45.23 kB / 0.5923 GB, free: 28.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.4419, allocations: 444 kB / 0.5927 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.4422, allocations: 310.7 kB / 0.593 GB, free: 28.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.4424, allocations: 102.3 kB / 0.5931 GB, free: 28.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.4425, allocations: 346.4 kB / 0.5934 GB, free: 28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.4443, allocations: 0.7678 MB / 0.5942 GB, free: 27.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.4461, allocations: 0.8901 MB / 0.595 GB, free: 27.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/0.4493, allocations: 1.646 MB / 0.5967 GB, free: 26.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4493, allocations: 5.344 kB / 0.5967 GB, free: 26.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01634/0.4657, allocations: 5.186 MB / 0.6017 GB, free: 25.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.4658, allocations: 7.844 kB / 0.6017 GB, free: 25.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.4658, allocations: 2.156 kB / 0.6017 GB, free: 25.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007972/0.4738, allocations: 2.159 MB / 0.6038 GB, free: 25.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4749, allocations: 196.9 kB / 0.604 GB, free: 25.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/0.4971, allocations: 9.718 MB / 0.6135 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.4988, allocations: 195 kB / 0.6137 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.4989, allocations: 39.98 kB / 0.6137 GB, free: 19.02 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 (106): * Single equations (assignments): 105 * 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 {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004191/0.4994, allocations: 225.6 kB / 0.614 GB, free: 18.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.4995, allocations: 106.7 kB / 0.6141 GB, free: 18.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.5127, allocations: 4.802 MB / 0.6187 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5127, allocations: 8 kB / 0.6188 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5127, allocations: 7.984 kB / 0.6188 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.5128, allocations: 3.984 kB / 0.6188 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.5271, allocations: 6.336 MB / 0.625 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.5271, allocations: 3.938 kB / 0.625 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/0.5277, allocations: 103.9 kB / 0.6251 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005859/0.5336, allocations: 2.062 MB / 0.6271 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.5337, allocations: 19.94 kB / 0.6271 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01791/0.5517, allocations: 8.205 MB / 0.6351 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5517, allocations: 0 / 0.6351 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/0.5681, allocations: 5.751 MB / 0.6407 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/0.5687, allocations: 203.6 kB / 0.6409 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.5688, allocations: 16 kB / 0.6409 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.5699, allocations: 135.8 kB / 0.6411 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006533/0.5706, allocations: 192.7 kB / 0.6412 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.5707, allocations: 20 kB / 0.6413 GB, free: 6.477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007733/0.5714, allocations: 0.578 MB / 0.6418 GB, free: 5.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5715, allocations: 0 / 0.6418 GB, free: 5.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001411/0.5729, allocations: 431.6 kB / 0.6422 GB, free: 5.465 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * 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 (52): * Single equations (assignments): 51 * 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.0002993/0.5732, allocations: 130.5 kB / 0.6424 GB, free: 5.332 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00722/0.5804, allocations: 2.668 MB / 0.645 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5804, allocations: 0 / 0.645 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004872/0.5853, allocations: 1.709 MB / 0.6466 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009066/0.5862, allocations: 84.38 kB / 0.6467 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.5898, allocations: 2.436 MB / 0.6491 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.5905, allocations: 1.037 MB / 0.6501 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.5907, allocations: 59.42 kB / 0.6502 GB, free: 13.27 MB / 462.1 MB Notification: Performance of SimCode: time 9.91e-07/0.5907, allocations: 4 kB / 0.6502 GB, free: 13.26 MB / 462.1 MB Notification: Performance of Templates: time 0.02475/0.6155, allocations: 18.41 MB / 0.6681 GB, free: 10.84 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.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_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2CalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2CalcHelperMain.o] Error 1