Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.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.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 96.14 kB / 15.87 MB, free: 16 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.509/1.509, allocations: 222.9 MB / 239.5 MB, free: 4.785 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.001499/0.001499, allocations: 188.4 kB / 289.8 MB, free: 2.523 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5472/0.5473, allocations: 78.52 MB / 418.4 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 71.89 kB / 497.4 MB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.197, allocations: 68.18 MB / 0.5523 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.3819/0.579, allocations: 2.924 MB / 0.5552 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.5812, allocations: 0.9078 MB / 0.5561 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.5813, allocations: 3.688 kB / 0.5561 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.5816, allocations: 81.59 kB / 0.5561 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.5819, allocations: 98.27 kB / 0.5562 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.5828, allocations: 430.1 kB / 0.5566 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.5832, allocations: 399.4 kB / 0.557 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.5834, allocations: 78.38 kB / 0.5571 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.5835, allocations: 160.6 kB / 0.5573 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.5838, allocations: 215.1 kB / 0.5575 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.5839, allocations: 21.38 kB / 0.5575 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.5841, allocations: 78.12 kB / 0.5576 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.5841, allocations: 69.05 kB / 0.5576 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.5843, allocations: 185.2 kB / 0.5578 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.5847, allocations: 377.2 kB / 0.5582 GB, free: 37.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5847, allocations: 0 / 0.5582 GB, free: 37.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5847, allocations: 0 / 0.5582 GB, free: 37.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.5847, allocations: 1.062 kB / 0.5582 GB, free: 37.09 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.003143/0.5879, allocations: 1.022 MB / 0.5592 GB, free: 36.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.588, allocations: 9.938 kB / 0.5592 GB, free: 36.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.5895, allocations: 260.2 kB / 0.5594 GB, free: 36.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.59, allocations: 347.6 kB / 0.5597 GB, free: 36.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.5901, allocations: 84.02 kB / 0.5598 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.5902, allocations: 25 kB / 0.5599 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.5909, allocations: 371.5 kB / 0.5602 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5909, allocations: 6.906 kB / 0.5602 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.591, allocations: 8.547 kB / 0.5602 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.591, allocations: 5.469 kB / 0.5602 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007508/0.5918, allocations: 361.3 kB / 0.5606 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.5936, allocations: 1.025 MB / 0.5616 GB, free: 35.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006444/0.6, allocations: 1.364 MB / 0.5629 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/0.6006, allocations: 256.7 kB / 0.5631 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.727e-05/0.6007, allocations: 10.28 kB / 0.5632 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.6007, allocations: 35.98 kB / 0.5632 GB, free: 35.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 5.32e-06/0.6007, allocations: 1.781 kB / 0.5632 GB, free: 35.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006493/0.6072, allocations: 1.987 MB / 0.5651 GB, free: 35.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.6073, allocations: 58.06 kB / 0.5652 GB, free: 35.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.6077, allocations: 315.5 kB / 0.5655 GB, free: 35.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.6078, allocations: 32.58 kB / 0.5655 GB, free: 35.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.6079, allocations: 188.5 kB / 0.5657 GB, free: 35.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.608, allocations: 108.2 kB / 0.5658 GB, free: 35.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.6081, allocations: 49.5 kB / 0.5659 GB, free: 35.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.6082, allocations: 352.6 kB / 0.5662 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.6087, allocations: 216.7 kB / 0.5664 GB, free: 34.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.6091, allocations: 221.4 kB / 0.5666 GB, free: 34.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008711/0.61, allocations: 471.9 kB / 0.5671 GB, free: 34.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.61, allocations: 0 / 0.5671 GB, free: 34.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004075/0.6141, allocations: 1.255 MB / 0.5683 GB, free: 34.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.6141, allocations: 5.5 kB / 0.5683 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6141, allocations: 0.5 kB / 0.5683 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003132/0.6173, allocations: 0.7543 MB / 0.569 GB, free: 34.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.6175, allocations: 30.66 kB / 0.5691 GB, free: 34.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005159/0.6227, allocations: 2.886 MB / 0.5719 GB, free: 33.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.6233, allocations: 56.39 kB / 0.5719 GB, free: 33.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.6233, allocations: 7.875 kB / 0.5719 GB, free: 33.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.6235, allocations: 143.5 kB / 0.5721 GB, free: 33.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.6236, allocations: 39.12 kB / 0.5721 GB, free: 33.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.6273, allocations: 1.211 MB / 0.5733 GB, free: 33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.6273, allocations: 7.5 kB / 0.5733 GB, free: 32.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6273, allocations: 4.562 kB / 0.5733 GB, free: 32.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.6273, allocations: 2.875 kB / 0.5733 GB, free: 32.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.6279, allocations: 0.5216 MB / 0.5738 GB, free: 32.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6279, allocations: 0 / 0.5738 GB, free: 32.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.6281, allocations: 31 kB / 0.5738 GB, free: 32.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/0.6306, allocations: 0.6728 MB / 0.5745 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.6306, allocations: 7.219 kB / 0.5745 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/0.6345, allocations: 2.466 MB / 0.5769 GB, free: 31.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6346, allocations: 0.5469 kB / 0.5769 GB, free: 31.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/0.639, allocations: 1.577 MB / 0.5785 GB, free: 31.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.6392, allocations: 121.1 kB / 0.5786 GB, free: 31.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.6392, allocations: 7.656 kB / 0.5786 GB, free: 31.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.6396, allocations: 35.36 kB / 0.5786 GB, free: 31.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.6399, allocations: 86.14 kB / 0.5787 GB, free: 31.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.6399, allocations: 6.438 kB / 0.5787 GB, free: 31.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002968/0.6402, allocations: 233.1 kB / 0.5789 GB, free: 31.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6402, allocations: 0 / 0.5789 GB, free: 31.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008923/0.6411, allocations: 136.2 kB / 0.5791 GB, free: 31.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002002/0.6414, allocations: 114.1 kB / 0.5792 GB, free: 30.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.644, allocations: 0.9851 MB / 0.5801 GB, free: 30.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.644, allocations: 0 / 0.5801 GB, free: 30.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.6457, allocations: 0.7103 MB / 0.5808 GB, free: 29.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.6461, allocations: 29.19 kB / 0.5808 GB, free: 29.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006727/0.6528, allocations: 1.232 MB / 0.582 GB, free: 29.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.6532, allocations: 0.792 MB / 0.5828 GB, free: 28.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.6533, allocations: 29.72 kB / 0.5829 GB, free: 28.65 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6533, allocations: 0.6562 kB / 0.5829 GB, free: 28.65 MB / 430.1 MB Notification: Performance of Templates: time 0.01698/0.6703, allocations: 9.437 MB / 0.5921 GB, free: 28.07 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.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.InductiveMotorI_SIMBOpenline_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_TestCalcHelperMain.o] Error 1