Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009368/0.0009368, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9086/0.9086, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2699/0.2699, allocations: 34.85 MB / 295.5 MB, free: 0.5781 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 443.2 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.595e-05, allocations: 2.281 kB / 443.2 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.1646/0.1646, allocations: 8.722 MB / 451.9 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005056/0.1697, allocations: 3.559 MB / 455.5 MB, free: 36.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.1712, allocations: 60.97 kB / 455.6 MB, free: 36.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.1726, allocations: 0.6715 MB / 456.2 MB, free: 35.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.1751, allocations: 0.9528 MB / 457.2 MB, free: 35.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/0.1759, allocations: 485.1 kB / 457.7 MB, free: 34.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.1781, allocations: 2.752 MB / 460.4 MB, free: 33.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000947/0.1791, allocations: 1.074 MB / 461.5 MB, free: 32.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.1807, allocations: 1.757 MB / 463.2 MB, free: 32.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.1818, allocations: 1.319 MB / 464.6 MB, free: 31.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.182, allocations: 304.7 kB / 464.9 MB, free: 31.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006683/0.1827, allocations: 0.5577 MB / 465.4 MB, free: 31.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004968/0.1832, allocations: 1.066 MB / 466.5 MB, free: 31.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006446/0.1838, allocations: 1.004 MB / 467.5 MB, free: 30.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.1864, allocations: 4.332 MB / 471.8 MB, free: 29.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1864, allocations: 6.469 kB / 471.8 MB, free: 29.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1864, allocations: 0 / 471.8 MB, free: 29.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.042e-05/0.1865, allocations: 0 / 471.8 MB, free: 29.05 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003516/0.19, allocations: 3.166 MB / 475 MB, free: 27.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1901, allocations: 9.375 kB / 475 MB, free: 27.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003579/0.1904, allocations: 364.4 kB / 475.4 MB, free: 26.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006439/0.1911, allocations: 376.9 kB / 475.7 MB, free: 26.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.1928, allocations: 1.676 MB / 477.4 MB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.538e-05/0.1929, allocations: 156.3 kB / 477.5 MB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.193, allocations: 209.1 kB / 477.8 MB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.1957, allocations: 2.836 MB / 480.6 MB, free: 24.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.1958, allocations: 11.2 kB / 480.6 MB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.1959, allocations: 81.38 kB / 480.7 MB, free: 24.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/0.196, allocations: 98.86 kB / 480.8 MB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.1984, allocations: 2.289 MB / 483.1 MB, free: 23.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.2084, allocations: 7.436 MB / 490.5 MB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.2104, allocations: 1.321 MB / 491.8 MB, free: 19.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.2118, allocations: 1.023 MB / 492.8 MB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.212, allocations: 44.53 kB / 492.9 MB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.799e-05/0.2121, allocations: 49.95 kB / 492.9 MB, free: 18.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 3.637e-06/0.2121, allocations: 0 / 492.9 MB, free: 18.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.01007/0.2222, allocations: 6.114 MB / 499 MB, free: 16.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.2222, allocations: 66.73 kB / 499.1 MB, free: 16.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/0.2251, allocations: 2.204 MB / 0.4896 GB, free: 15.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.2253, allocations: 51.05 kB / 0.4896 GB, free: 15.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006103/0.2259, allocations: 1.151 MB / 0.4907 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.2262, allocations: 474.4 kB / 0.4912 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.2265, allocations: 242.5 kB / 0.4914 GB, free: 14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.2266, allocations: 362.2 kB / 0.4918 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009817/0.2276, allocations: 0.7594 MB / 0.4925 GB, free: 13.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.2287, allocations: 1.01 MB / 0.4935 GB, free: 12.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.2307, allocations: 1.859 MB / 0.4953 GB, free: 11.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.2307, allocations: 1.812 kB / 0.4953 GB, free: 11.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003668/0.2343, allocations: 2.757 MB / 0.498 GB, free: 10.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2344, allocations: 9.812 kB / 0.498 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.2344, allocations: 5.312 kB / 0.498 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.2356, allocations: 0.7779 MB / 0.4988 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.2363, allocations: 281.2 kB / 0.499 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006467/0.2428, allocations: 9.275 MB / 0.5081 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.244, allocations: 91.89 kB / 0.5082 GB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.2441, allocations: 51.98 kB / 0.5082 GB, free: 1.527 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00118/0.2453, allocations: 0.7511 MB / 0.509 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/0.2457, allocations: 217.8 kB / 0.5092 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.2485, allocations: 2.481 MB / 0.5116 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.2485, allocations: 15.98 kB / 0.5116 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.2485, allocations: 8 kB / 0.5116 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.2486, allocations: 7.984 kB / 0.5116 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006278/0.2548, allocations: 4.649 MB / 0.5162 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2548, allocations: 0 / 0.5162 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/0.2554, allocations: 221.9 kB / 0.5164 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.2564, allocations: 0.6519 MB / 0.517 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.2565, allocations: 27.98 kB / 0.5171 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006345/0.2629, allocations: 8.343 MB / 0.5252 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2629, allocations: 32 / 0.5252 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/0.2673, allocations: 3.53 MB / 0.5286 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009242/0.2682, allocations: 374.5 kB / 0.529 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.2684, allocations: 35.98 kB / 0.529 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.269, allocations: 83.91 kB / 0.5291 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.2692, allocations: 112.7 kB / 0.5292 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.2693, allocations: 39.98 kB / 0.5293 GB, free: 11.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001667/0.271, allocations: 1.536 MB / 0.5308 GB, free: 9.938 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.271, allocations: 0 / 0.5308 GB, free: 9.938 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001436/0.2724, allocations: 0.5234 MB / 0.5313 GB, free: 9.414 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004872/0.2773, allocations: 4.473 MB / 0.5356 GB, free: 5.027 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003001/0.2803, allocations: 2.317 MB / 0.5379 GB, free: 2.684 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2803, allocations: 0 / 0.5379 GB, free: 2.684 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.282, allocations: 1.453 MB / 0.5393 GB, free: 1.191 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.284, allocations: 451.5 kB / 0.5398 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/0.3136, allocations: 21.18 MB / 0.5604 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/0.3152, allocations: 1.397 MB / 0.5618 GB, free: 9.715 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009311/0.3162, allocations: 395.7 kB / 0.5622 GB, free: 9.324 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009325/0.3171, allocations: 0.9963 MB / 0.5632 GB, free: 8.328 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3171, allocations: 0 / 0.5632 GB, free: 8.328 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/0.494, allocations: 54.93 MB / 0.6168 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.745/9.239, allocations: 15.97 kB / 0.6168 GB, free: 1.691 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=4.6 --stepSize=0.000100002 --timeout=50 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_InductionMachines_IMC_withLosses.fmu) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy_res.csv --start-time 0 --stop-time 4.6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000100002 ../ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_InductionMachines_IMC_withLosses.fmu) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.040361693128943]