Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.00183/0.00183, allocations: 81.64 kB / 20.68 MB, free: 1.039 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.002326/0.002326, allocations: 167.7 kB / 23.95 MB, free: 4.172 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.511/1.511, allocations: 177.2 MB / 204.3 MB, free: 9.18 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_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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.377e-05, allocations: 6.609 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01441/0.01443, allocations: 11.34 MB / 336.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008736/0.02317, allocations: 4.046 MB / 340.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.02571, allocations: 102.2 kB / 340.6 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.02836, allocations: 0.9672 MB / 341.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.03224, allocations: 1.285 MB / 342.8 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.03348, allocations: 0.542 MB / 343.4 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00593/0.03941, allocations: 4.818 MB / 348.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.04226, allocations: 2.007 MB / 350.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004913/0.04717, allocations: 3.163 MB / 353.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003457/0.05063, allocations: 2.291 MB / 355.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007849/0.05141, allocations: 0.5508 MB / 356.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.05259, allocations: 0.6559 MB / 356.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.05425, allocations: 1.578 MB / 358.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002286/0.05653, allocations: 1.731 MB / 360.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008461/0.06499, allocations: 7.553 MB / 367.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.065, allocations: 0 / 367.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.065, allocations: 0 / 367.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001207/0.06512, allocations: 0 / 367.7 MB, free: 10.34 MB / 334.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.01016/0.07528, allocations: 4.709 MB / 372.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.07533, allocations: 8.031 kB / 372.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.07706, allocations: 0.5487 MB / 373 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005019/0.08208, allocations: 2.543 MB / 375.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.08231, allocations: 263.4 kB / 375.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005722/0.08288, allocations: 356.1 kB / 376.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008932/0.09181, allocations: 5.272 MB / 381.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.967e-05/0.09189, allocations: 15.89 kB / 381.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003546/0.09225, allocations: 148 kB / 381.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/0.09245, allocations: 187 kB / 381.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007841/0.1003, allocations: 4.283 MB / 386 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02382/0.1241, allocations: 12.85 MB / 398.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/0.1285, allocations: 2.689 MB / 401.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003546/0.1321, allocations: 1.885 MB / 403.5 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.1323, allocations: 57.91 kB / 403.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/0.1324, allocations: 60.55 kB / 403.6 MB, free: 5.922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=198): time 3.978e-06/0.1324, allocations: 0 / 403.6 MB, free: 5.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=218): time 0.0211/0.1535, allocations: 9.577 MB / 413.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.1535, allocations: 77.34 kB / 413.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.1569, allocations: 2.203 MB / 415.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000195/0.1571, allocations: 61.7 kB / 415.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.1584, allocations: 1.672 MB / 417.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/0.1592, allocations: 0.7552 MB / 417.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007303/0.1599, allocations: 416.4 kB / 418.3 MB, free: 7.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.16, allocations: 305.1 kB / 418.6 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/0.1622, allocations: 1.297 MB / 419.9 MB, free: 5.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.1648, allocations: 1.778 MB / 421.7 MB, free: 3.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004848/0.1696, allocations: 3.208 MB / 424.9 MB, free: 120 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.1696, allocations: 4 kB / 424.9 MB, free: 116 kB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007576/0.1772, allocations: 4.046 MB / 428.9 MB, free: 12.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.1772, allocations: 12 kB / 429 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.826e-05/0.1773, allocations: 12 kB / 429 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/0.1803, allocations: 0.8906 MB / 429.9 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/0.1827, allocations: 0.5227 MB / 430.4 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.1941, allocations: 8.998 MB / 439.4 MB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.1962, allocations: 119.9 kB / 439.5 MB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003289/0.1965, allocations: 88 kB / 439.6 MB, free: 1.094 MB / 398.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.002422/0.1989, allocations: 1.223 MB / 440.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007461/0.1997, allocations: 266.3 kB / 441.1 MB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006989/0.2066, allocations: 3.677 MB / 444.7 MB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/0.2067, allocations: 20 kB / 444.8 MB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/0.2067, allocations: 8 kB / 444.8 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/0.2067, allocations: 11.95 kB / 444.8 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.2215, allocations: 7.093 MB / 451.9 MB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.2215, allocations: 3.984 kB / 451.9 MB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/0.2233, allocations: 383.8 kB / 452.3 MB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/0.2267, allocations: 0.929 MB / 453.2 MB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/0.2269, allocations: 59.97 kB / 453.2 MB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.2399, allocations: 10.47 MB / 463.7 MB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.2399, allocations: 7.938 kB / 463.7 MB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009963/0.2499, allocations: 5.477 MB / 469.2 MB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/0.2515, allocations: 0.549 MB / 469.7 MB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006459/0.2522, allocations: 44 kB / 469.8 MB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.2538, allocations: 112.1 kB / 469.9 MB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005007/0.2543, allocations: 193.6 kB / 470.1 MB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.2545, allocations: 67.92 kB / 470.2 MB, free: 1.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002914/0.2574, allocations: 1.489 MB / 471.6 MB, free: 392 kB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2574, allocations: 0 / 471.6 MB, free: 392 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.1804/0.4378, allocations: 0.7949 MB / 472.4 MB, free: 125.3 MB / 430.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.001269/0.4391, allocations: 241 kB / 472.7 MB, free: 125.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01006/0.4491, allocations: 3.613 MB / 476.3 MB, free: 124.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/0.4492, allocations: 1.469 kB / 476.3 MB, free: 124.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005642/0.4548, allocations: 2.306 MB / 478.6 MB, free: 123.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/0.46, allocations: 0.6192 MB / 479.2 MB, free: 123.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.4793, allocations: 7.639 MB / 486.9 MB, free: 120.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/0.4822, allocations: 2.232 MB / 489.1 MB, free: 119.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00207/0.4843, allocations: 0.6415 MB / 489.7 MB, free: 119.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007153/0.485, allocations: 168.5 kB / 489.9 MB, free: 119.6 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.485, allocations: 0 / 489.9 MB, free: 119.6 MB / 430.1 MB Notification: Performance of Templates: time 0.05774/0.5428, allocations: 40.25 MB / 0.5177 GB, free: 83.42 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.604085091501474]