Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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.001838/0.001838, allocations: 73.17 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] 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.002306/0.002306, allocations: 157.4 kB / 24.5 MB, free: 3.715 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.425/1.425, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] 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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 55.58 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09686, allocations: 53.35 MB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01194/0.1088, allocations: 9.131 MB / 388.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005758/0.1146, allocations: 3.12 MB / 391.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00095/0.1155, allocations: 67.56 kB / 391.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.1172, allocations: 0.6869 MB / 391.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.1194, allocations: 0.9283 MB / 392.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.1202, allocations: 431.5 kB / 393.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003905/0.1241, allocations: 3.428 MB / 396.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.1263, allocations: 1.362 MB / 398.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.1286, allocations: 1.573 MB / 399.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.1312, allocations: 1.841 MB / 401.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005773/0.1318, allocations: 403.9 kB / 401.9 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000966/0.1327, allocations: 491.8 kB / 402.4 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.1339, allocations: 1.122 MB / 403.5 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.1355, allocations: 1.439 MB / 404.9 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005478/0.141, allocations: 5.271 MB / 410.2 MB, free: 184 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.141, allocations: 4 kB / 410.2 MB, free: 180 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.141, allocations: 4 kB / 410.2 MB, free: 176 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.564e-05/0.1411, allocations: 3.938 kB / 410.2 MB, free: 172 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.007307/0.1484, allocations: 3.547 MB / 413.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1484, allocations: 12.03 kB / 413.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.1496, allocations: 398.7 kB / 414.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/0.1537, allocations: 1.886 MB / 416 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.1539, allocations: 201 kB / 416.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004105/0.1543, allocations: 256 kB / 416.5 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006525/0.1608, allocations: 3.636 MB / 420.1 MB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-05/0.1609, allocations: 7.953 kB / 420.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.1611, allocations: 104 kB / 420.2 MB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.1613, allocations: 116.9 kB / 420.3 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005606/0.1669, allocations: 3.084 MB / 423.4 MB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.1836, allocations: 9.441 MB / 432.9 MB, free: 9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/0.187, allocations: 2.05 MB / 434.9 MB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00241/0.1894, allocations: 1.294 MB / 436.2 MB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.1896, allocations: 49.28 kB / 436.3 MB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/0.1916, allocations: 1.248 MB / 437.5 MB, free: 4.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 5.791e-06/0.1916, allocations: 4 kB / 437.5 MB, free: 4.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.02131/0.2129, allocations: 8.432 MB / 445.9 MB, free: 11.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.2131, allocations: 184.2 kB / 446.1 MB, free: 11.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/0.2156, allocations: 1.713 MB / 447.8 MB, free: 9.902 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.2157, allocations: 57.7 kB / 447.9 MB, free: 9.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.2169, allocations: 1.229 MB / 449.1 MB, free: 8.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005485/0.2175, allocations: 0.5849 MB / 449.7 MB, free: 8.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005931/0.218, allocations: 363.3 kB / 450.1 MB, free: 7.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2182, allocations: 305.1 kB / 450.4 MB, free: 7.344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.2199, allocations: 1.003 MB / 451.4 MB, free: 6.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.2221, allocations: 1.523 MB / 452.9 MB, free: 4.633 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/0.2262, allocations: 2.454 MB / 455.3 MB, free: 2.031 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.2262, allocations: 7.938 kB / 455.4 MB, free: 2.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006129/0.2323, allocations: 3.308 MB / 458.7 MB, free: 14.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.2324, allocations: 15.98 kB / 458.7 MB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.2324, allocations: 12 kB / 458.7 MB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/0.2346, allocations: 0.8731 MB / 459.6 MB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.2358, allocations: 343.4 kB / 459.9 MB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.249, allocations: 9.936 MB / 469.8 MB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.2509, allocations: 139.8 kB / 470 MB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.2511, allocations: 68.06 kB / 470 MB, free: 3 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001877/0.253, allocations: 0.9292 MB / 471 MB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/0.2533, allocations: 202.7 kB / 471.2 MB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1896/0.4429, allocations: 3.078 MB / 474.2 MB, free: 83.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.443, allocations: 17.5 kB / 474.3 MB, free: 83.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.443, allocations: 6.75 kB / 474.3 MB, free: 83.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/0.443, allocations: 12.97 kB / 474.3 MB, free: 83.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009831/0.4528, allocations: 5.555 MB / 479.8 MB, free: 82.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.4528, allocations: 2.719 kB / 479.8 MB, free: 82.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000904/0.4537, allocations: 213.2 kB / 480 MB, free: 82.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/0.4559, allocations: 0.9237 MB / 481 MB, free: 81.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.456, allocations: 38.33 kB / 481 MB, free: 81.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.4664, allocations: 11.41 MB / 492.4 MB, free: 74.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4664, allocations: 6.219 kB / 492.4 MB, free: 74.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/0.4724, allocations: 4.497 MB / 496.9 MB, free: 72.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009282/0.4734, allocations: 423.1 kB / 497.3 MB, free: 72.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.4736, allocations: 40.05 kB / 497.4 MB, free: 72.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/0.4746, allocations: 98.3 kB / 497.5 MB, free: 72.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003956/0.475, allocations: 203.3 kB / 497.7 MB, free: 72.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.4751, allocations: 44.83 kB / 497.7 MB, free: 72.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001358/0.4764, allocations: 1.158 MB / 498.9 MB, free: 71.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4764, allocations: 7.906 kB / 498.9 MB, free: 71.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001649/0.4781, allocations: 0.6355 MB / 499.5 MB, free: 70.95 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003489/0.4784, allocations: 208.4 kB / 499.7 MB, free: 70.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.4823, allocations: 3 MB / 0.4909 GB, free: 67.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4823, allocations: 0 / 0.4909 GB, free: 67.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002667/0.485, allocations: 2.106 MB / 0.493 GB, free: 65.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.4869, allocations: 0.5255 MB / 0.4935 GB, free: 65.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006523/0.4934, allocations: 5.762 MB / 0.4991 GB, free: 59.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.4947, allocations: 1.63 MB / 0.5007 GB, free: 57.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.4957, allocations: 436.5 kB / 0.5011 GB, free: 57.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.4961, allocations: 124.5 kB / 0.5013 GB, free: 57.11 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4961, allocations: 0 / 0.5013 GB, free: 57.11 MB / 430.1 MB Notification: Performance of Templates: time 0.04613/0.5422, allocations: 37.89 MB / 0.5383 GB, free: 19.74 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.572034956072457]