Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 252.7 MB, free: 14.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 212.6 kB / 309.2 MB, free: 3.133 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6338/0.6338, allocations: 107.2 MB / 472.8 MB, free: 30.5 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 86.7 kB / 0.633 GB, free: 29.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.136, allocations: 80.15 MB / 0.7113 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004233/0.1402, allocations: 2.747 MB / 0.714 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.142, allocations: 0.9356 MB / 0.7149 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.1422, allocations: 4 kB / 0.7149 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.1425, allocations: 103.2 kB / 0.715 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.1429, allocations: 162.9 kB / 0.7152 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.144, allocations: 398 kB / 0.7155 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000539/0.1445, allocations: 0.5059 MB / 0.716 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1447, allocations: 66.64 kB / 0.7161 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.145, allocations: 223.1 kB / 0.7163 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.1453, allocations: 254.8 kB / 0.7165 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.1454, allocations: 44 kB / 0.7166 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.1456, allocations: 91.97 kB / 0.7167 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.86e-05/0.1457, allocations: 115.5 kB / 0.7168 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.1459, allocations: 187 kB / 0.717 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006617/0.1465, allocations: 0.5602 MB / 0.7175 GB, free: 1.344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1465, allocations: 4 kB / 0.7175 GB, free: 1.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1465, allocations: 3.938 kB / 0.7175 GB, free: 1.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1466, allocations: 4 kB / 0.7175 GB, free: 1.332 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003399/0.15, allocations: 1.058 MB / 0.7186 GB, free: 248 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.15, allocations: 8.031 kB / 0.7186 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.481e-05/0.1501, allocations: 66.72 kB / 0.7186 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.1518, allocations: 268.4 kB / 0.7189 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.1524, allocations: 340.6 kB / 0.7192 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.1525, allocations: 95.92 kB / 0.7193 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.714e-05/0.1526, allocations: 31.95 kB / 0.7193 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008311/0.1534, allocations: 398 kB / 0.7197 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1535, allocations: 0 / 0.7197 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.1535, allocations: 8 kB / 0.7197 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1535, allocations: 8 kB / 0.7197 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008152/0.1543, allocations: 390.4 kB / 0.7201 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.1564, allocations: 0.9275 MB / 0.721 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006961/0.1633, allocations: 1.345 MB / 0.7223 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/0.1639, allocations: 248.7 kB / 0.7226 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.504e-05/0.164, allocations: 8 kB / 0.7226 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.164, allocations: 34.5 kB / 0.7226 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.385e-06/0.164, allocations: 4 kB / 0.7226 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.006522/0.1706, allocations: 1.723 MB / 0.7243 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.1706, allocations: 59.34 kB / 0.7243 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/0.1712, allocations: 401.6 kB / 0.7247 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.1713, allocations: 29.7 kB / 0.7247 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.1714, allocations: 208.8 kB / 0.7249 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.1716, allocations: 130.9 kB / 0.7251 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.1717, allocations: 54.03 kB / 0.7251 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1719, allocations: 354.8 kB / 0.7255 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/0.1724, allocations: 224.5 kB / 0.7257 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.1729, allocations: 245 kB / 0.7259 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.174, allocations: 490.3 kB / 0.7264 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.174, allocations: 0 / 0.7264 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004213/0.1782, allocations: 1.272 MB / 0.7276 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.1783, allocations: 8 kB / 0.7276 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1783, allocations: 0 / 0.7276 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/0.1814, allocations: 0.7661 MB / 0.7284 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.1816, allocations: 35.92 kB / 0.7284 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006442/0.1881, allocations: 2.954 MB / 0.7313 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.1886, allocations: 51.75 kB / 0.7313 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.1886, allocations: 11.98 kB / 0.7314 GB, free: 2.805 MB / 0.4981 GB 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 (26): * Single equations (assignments): 23 * 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.1889, allocations: 157.8 kB / 0.7315 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.189, allocations: 43.7 kB / 0.7315 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003917/0.1929, allocations: 1.198 MB / 0.7327 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.1929, allocations: 4 kB / 0.7327 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.1929, allocations: 11.92 kB / 0.7327 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.193, allocations: 7.984 kB / 0.7327 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.1936, allocations: 396.5 kB / 0.7331 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1936, allocations: 0 / 0.7331 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.1939, allocations: 39.91 kB / 0.7332 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/0.1962, allocations: 0.6191 MB / 0.7338 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.1962, allocations: 8 kB / 0.7338 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004607/0.2008, allocations: 2.409 MB / 0.7361 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2008, allocations: 8 kB / 0.7361 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004703/0.2055, allocations: 1.582 MB / 0.7377 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.2056, allocations: 47.69 kB / 0.7377 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-05/0.2057, allocations: 19.92 kB / 0.7377 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.2062, allocations: 31.97 kB / 0.7378 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.2064, allocations: 91.77 kB / 0.7379 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.2065, allocations: 12 kB / 0.7379 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004318/0.2069, allocations: 291.2 kB / 0.7381 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2069, allocations: 0 / 0.7381 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005793/0.2075, allocations: 139.9 kB / 0.7383 GB, free: 11.49 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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 (26): * Single equations (assignments): 23 * 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.005295/0.2128, allocations: 2.128 MB / 0.7404 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002998/0.2158, allocations: 0.8983 MB / 0.7412 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2158, allocations: 0 / 0.7412 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.2175, allocations: 0.559 MB / 0.7418 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.2179, allocations: 37.44 kB / 0.7418 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.2316, allocations: 5.672 MB / 0.7474 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2318, allocations: 207.5 kB / 0.7476 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.2319, allocations: 30.97 kB / 0.7476 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.2322, allocations: 135.4 kB / 0.7477 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of SimCode: time 1.232e-06/0.2322, allocations: 3.938 kB / 0.7477 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04969/0.2819, allocations: 13.31 MB / 0.7607 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/13.83, allocations: 11.44 kB / 0.7607 GB, free: 4.449 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.480289648287] Failed to read output from testmodel.py, exit status != 0: 13.956445130053908 13.989730851 13.837474414 Calling exit ...