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.001238/0.001238, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.451/1.451, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.001583/0.001583, allocations: 208.3 kB / 306.7 MB, free: 4.293 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4409/0.4409, allocations: 79.72 MB / 442.5 MB, free: 0.5156 MB / 302.1 MB " [Timeout remaining time 179] 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="cs",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.002359/0.002359, allocations: 75.89 kB / 0.5885 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1502, allocations: 73.27 MB / 0.66 GB, free: 8.328 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004093/0.1543, allocations: 3.009 MB / 0.663 GB, free: 5.293 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.156, allocations: 0.9978 MB / 0.6639 GB, free: 4.289 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1562, allocations: 0 / 0.6639 GB, free: 4.289 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1564, allocations: 95.27 kB / 0.664 GB, free: 4.195 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.1568, allocations: 166.9 kB / 0.6642 GB, free: 4.031 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009138/0.1577, allocations: 425 kB / 0.6646 GB, free: 3.617 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.1582, allocations: 0.5098 MB / 0.6651 GB, free: 3.105 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.1584, allocations: 61.06 kB / 0.6652 GB, free: 3.043 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.1587, allocations: 223.1 kB / 0.6654 GB, free: 2.824 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.159, allocations: 278.8 kB / 0.6656 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.1591, allocations: 44 kB / 0.6657 GB, free: 2.508 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.1593, allocations: 99.97 kB / 0.6658 GB, free: 2.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.1594, allocations: 111.5 kB / 0.6659 GB, free: 2.301 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.1596, allocations: 222.8 kB / 0.6661 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.1602, allocations: 0.5796 MB / 0.6667 GB, free: 1.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1602, allocations: 0 / 0.6667 GB, free: 1.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1602, allocations: 0 / 0.6667 GB, free: 1.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1602, allocations: 0 / 0.6667 GB, free: 1.5 MB / 462.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.003502/0.1637, allocations: 1.126 MB / 0.6678 GB, free: 332 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1638, allocations: 12.03 kB / 0.6678 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.124e-05/0.1638, allocations: 8.75 kB / 0.6678 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.43e-05/0.1639, allocations: 58.73 kB / 0.6678 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.1656, allocations: 276.4 kB / 0.6681 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.1661, allocations: 410.1 kB / 0.6685 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.1663, allocations: 87.95 kB / 0.6686 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.1664, allocations: 24 kB / 0.6686 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.1672, allocations: 400.7 kB / 0.669 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1672, allocations: 0 / 0.669 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.1672, allocations: 12 kB / 0.669 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.1673, allocations: 7.938 kB / 0.669 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008353/0.1681, allocations: 390 kB / 0.6694 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.1703, allocations: 1.092 MB / 0.6704 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006999/0.1773, allocations: 1.345 MB / 0.6717 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.1779, allocations: 252.7 kB / 0.672 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.144e-05/0.1779, allocations: 4 kB / 0.672 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.178, allocations: 42.5 kB / 0.672 GB, free: 11.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.705e-06/0.178, allocations: 4 kB / 0.672 GB, free: 11.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=35): time 0.00686/0.1848, allocations: 1.951 MB / 0.6739 GB, free: 9.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.1849, allocations: 59.34 kB / 0.674 GB, free: 9.703 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.1855, allocations: 401.6 kB / 0.6744 GB, free: 9.301 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.1855, allocations: 37.64 kB / 0.6744 GB, free: 9.258 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1857, allocations: 208.7 kB / 0.6746 GB, free: 9.047 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.1858, allocations: 126.8 kB / 0.6747 GB, free: 8.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.186, allocations: 62.02 kB / 0.6748 GB, free: 8.852 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1861, allocations: 350.8 kB / 0.6751 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/0.1867, allocations: 228.5 kB / 0.6753 GB, free: 8.277 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.1872, allocations: 233.1 kB / 0.6756 GB, free: 8.051 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.1883, allocations: 494.3 kB / 0.676 GB, free: 7.566 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1883, allocations: 0 / 0.676 GB, free: 7.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004272/0.1926, allocations: 1.272 MB / 0.6773 GB, free: 6.277 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1926, allocations: 4 kB / 0.6773 GB, free: 6.273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1926, allocations: 4 kB / 0.6773 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/0.1957, allocations: 0.7661 MB / 0.678 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1959, allocations: 39.97 kB / 0.6781 GB, free: 5.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/0.2021, allocations: 3.102 MB / 0.6811 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.2026, allocations: 47.81 kB / 0.6811 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.2027, allocations: 12 kB / 0.6812 GB, free: 2.156 MB / 478.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 (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.0002165/0.2029, allocations: 145.8 kB / 0.6813 GB, free: 2.004 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.203, allocations: 43.66 kB / 0.6813 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003995/0.207, allocations: 1.21 MB / 0.6825 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.207, allocations: 4 kB / 0.6825 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.207, allocations: 11.88 kB / 0.6825 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.207, allocations: 0 / 0.6825 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.2076, allocations: 0.54 MB / 0.6831 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2076, allocations: 4 kB / 0.6831 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.2079, allocations: 35.92 kB / 0.6831 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/0.2103, allocations: 0.619 MB / 0.6837 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.2103, allocations: 8 kB / 0.6837 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/0.2149, allocations: 2.565 MB / 0.6862 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2149, allocations: 0 / 0.6862 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/0.2195, allocations: 1.579 MB / 0.6878 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.2197, allocations: 128.8 kB / 0.6879 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.2197, allocations: 7.938 kB / 0.6879 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.2202, allocations: 35.97 kB / 0.6879 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.2204, allocations: 83.88 kB / 0.688 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.2205, allocations: 15.98 kB / 0.688 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003851/0.2209, allocations: 287.2 kB / 0.6883 GB, free: 10.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2209, allocations: 0 / 0.6883 GB, free: 10.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000591/0.2215, allocations: 147.8 kB / 0.6884 GB, free: 10.43 MB / 494.1 MB 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.005082/0.2265, allocations: 2.119 MB / 0.6905 GB, free: 8.277 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003021/0.2296, allocations: 1.053 MB / 0.6915 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2296, allocations: 0 / 0.6915 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.2314, allocations: 0.709 MB / 0.6922 GB, free: 6.402 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.2318, allocations: 43.84 kB / 0.6923 GB, free: 6.363 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.245, allocations: 5.679 MB / 0.6978 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2557/0.5008, allocations: 0.8015 MB / 0.6986 GB, free: 37.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.501, allocations: 32.45 kB / 0.6986 GB, free: 37.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.5012, allocations: 138.4 kB / 0.6988 GB, free: 37.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5012, allocations: 0 / 0.6988 GB, free: 37.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04085/0.542, allocations: 12.31 MB / 0.7108 GB, free: 36.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.04, allocations: 20.91 kB / 0.7108 GB, free: 36.13 MB / 494.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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: 16.31792352697812] Failed to read output from testmodel.py, exit status != 0: 13.202755200967658 13.222260611 13.058460479 Calling exit ...