Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 108.8 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 43.92 kB / 371.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2401, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01584/0.2559, allocations: 12.98 MB / 436.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008643/0.2645, allocations: 4.206 MB / 441.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.2668, allocations: 99.38 kB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002939/0.2698, allocations: 1.017 MB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004108/0.2739, allocations: 1.239 MB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.2753, allocations: 0.5265 MB / 444 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006247/0.2815, allocations: 4.633 MB / 448.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.2848, allocations: 2.081 MB / 450.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004157/0.2889, allocations: 2.168 MB / 452.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0046/0.2935, allocations: 2.627 MB / 455.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.2951, allocations: 0.5547 MB / 456 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.2974, allocations: 0.6404 MB / 456.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002079/0.2995, allocations: 1.543 MB / 458.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004506/0.304, allocations: 2.481 MB / 460.7 MB, free: 9.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009531/0.3135, allocations: 7.443 MB / 468.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3135, allocations: 0 / 468.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3135, allocations: 0 / 468.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002262/0.3138, allocations: 0 / 468.1 MB, free: 2.223 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01294/0.3267, allocations: 4.728 MB / 472.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3267, allocations: 11.97 kB / 472.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.3283, allocations: 0.5175 MB / 473.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005797/0.3341, allocations: 2.524 MB / 475.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002776/0.3344, allocations: 271 kB / 476.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.3355, allocations: 351.9 kB / 476.5 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.3458, allocations: 5.025 MB / 481.5 MB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.828e-05/0.3459, allocations: 11.89 kB / 481.6 MB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003587/0.3462, allocations: 152 kB / 481.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/0.3464, allocations: 183 kB / 481.9 MB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008385/0.3548, allocations: 4.298 MB / 486.2 MB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02804/0.3828, allocations: 14.59 MB / 0.489 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004596/0.3874, allocations: 2.71 MB / 0.4917 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003507/0.3909, allocations: 1.866 MB / 0.4935 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/0.3912, allocations: 61.95 kB / 0.4936 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.3913, allocations: 56.56 kB / 0.4936 GB, free: 12.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.148e-06/0.3913, allocations: 0 / 0.4936 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02243/0.4137, allocations: 9.617 MB / 0.503 GB, free: 2.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.4138, allocations: 77.41 kB / 0.5031 GB, free: 2.691 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/0.4188, allocations: 2.498 MB / 0.5055 GB, free: 176 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004039/0.4192, allocations: 65.7 kB / 0.5056 GB, free: 104 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.4207, allocations: 1.658 MB / 0.5072 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009863/0.4217, allocations: 0.7591 MB / 0.5079 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000908/0.4226, allocations: 424.4 kB / 0.5083 GB, free: 13.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4227, allocations: 301.1 kB / 0.5086 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.425, allocations: 1.301 MB / 0.5099 GB, free: 11.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/0.4277, allocations: 1.778 MB / 0.5116 GB, free: 9.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005207/0.4329, allocations: 3.208 MB / 0.5148 GB, free: 6.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.433, allocations: 8 kB / 0.5148 GB, free: 6.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008169/0.4411, allocations: 4.065 MB / 0.5188 GB, free: 2.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.4412, allocations: 10.97 kB / 0.5188 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/0.4412, allocations: 16 kB / 0.5188 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.4443, allocations: 0.8838 MB / 0.5196 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/0.4466, allocations: 0.5305 MB / 0.5202 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.4585, allocations: 9.18 MB / 0.5291 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.4607, allocations: 111.9 kB / 0.5292 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003882/0.4611, allocations: 95.98 kB / 0.5293 GB, free: 7.004 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002635/0.4637, allocations: 1.212 MB / 0.5305 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008682/0.4646, allocations: 290.2 kB / 0.5308 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007374/0.472, allocations: 3.703 MB / 0.5344 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.472, allocations: 23.94 kB / 0.5344 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.256e-05/0.472, allocations: 8 kB / 0.5344 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.4721, allocations: 11.95 kB / 0.5344 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2504/0.7225, allocations: 7.972 MB / 0.5422 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.7225, allocations: 3.938 kB / 0.5422 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.7241, allocations: 385.8 kB / 0.5426 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002868/0.7269, allocations: 0.9309 MB / 0.5435 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/0.7272, allocations: 51.7 kB / 0.5436 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009751/0.737, allocations: 10.69 MB / 0.554 GB, free: 96.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.737, allocations: 3.906 kB / 0.554 GB, free: 96.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008242/0.7452, allocations: 5.51 MB / 0.5594 GB, free: 93.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/0.7473, allocations: 0.5767 MB / 0.5599 GB, free: 92.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008581/0.7481, allocations: 55.7 kB / 0.56 GB, free: 92.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.75, allocations: 115.3 kB / 0.5601 GB, free: 92.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004698/0.7504, allocations: 192.2 kB / 0.5603 GB, free: 92.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/0.7506, allocations: 59.98 kB / 0.5603 GB, free: 92.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002576/0.7532, allocations: 1.727 MB / 0.562 GB, free: 90.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7532, allocations: 0 / 0.562 GB, free: 90.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002767/0.756, allocations: 0.8041 MB / 0.5628 GB, free: 89.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (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.00063/0.7566, allocations: 234.4 kB / 0.563 GB, free: 89.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005002/0.7616, allocations: 3.618 MB / 0.5666 GB, free: 86.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.7616, allocations: 4 kB / 0.5666 GB, free: 86.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003174/0.7648, allocations: 2.314 MB / 0.5688 GB, free: 83.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/0.7689, allocations: 0.7904 MB / 0.5696 GB, free: 82.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.7817, allocations: 7.902 MB / 0.5773 GB, free: 75.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/0.7835, allocations: 2.726 MB / 0.58 GB, free: 72.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008955/0.7844, allocations: 187.4 kB / 0.5802 GB, free: 72.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7844, allocations: 0 / 0.5802 GB, free: 72.11 MB / 446.1 MB Notification: Performance of Templates: time 0.1498/0.9342, allocations: 142.3 MB / 0.7191 GB, free: 9.852 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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: 17.768395504914224]