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.001354/0.001354, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001434/0.001434, allocations: 183.7 kB / 23.71 MB, free: 4.695 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.458/1.458, allocations: 225.6 MB / 252.5 MB, free: 13 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.001556/0.001556, allocations: 47.92 kB / 371 MB, free: 9.398 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2837, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01645/0.3002, allocations: 12.96 MB / 436.1 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01064/0.3108, allocations: 4.214 MB / 440.3 MB, free: 13.41 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004247/0.3151, allocations: 99.38 kB / 440.4 MB, free: 13.32 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003974/0.319, allocations: 1.013 MB / 441.4 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005376/0.3244, allocations: 1.247 MB / 442.7 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.3263, allocations: 0.5187 MB / 443.2 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.007343/0.3336, allocations: 4.637 MB / 447.8 MB, free: 5.863 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003705/0.3373, allocations: 2.078 MB / 449.9 MB, free: 3.723 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00577/0.3431, allocations: 2.182 MB / 452.1 MB, free: 1.547 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005889/0.349, allocations: 2.627 MB / 454.7 MB, free: 14.91 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002129/0.3511, allocations: 0.5508 MB / 455.3 MB, free: 14.36 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.3542, allocations: 0.6443 MB / 455.9 MB, free: 13.71 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00289/0.357, allocations: 1.535 MB / 457.4 MB, free: 12.18 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.006076/0.3631, allocations: 2.481 MB / 459.9 MB, free: 9.684 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01178/0.3749, allocations: 7.443 MB / 467.4 MB, free: 2.215 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3749, allocations: 0 / 467.4 MB, free: 2.215 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.195e-06/0.3749, allocations: 0 / 467.4 MB, free: 2.215 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 0.0002694/0.3752, allocations: 4 kB / 467.4 MB, free: 2.211 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.01495/0.3901, allocations: 4.732 MB / 472.1 MB, free: 13.43 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.3902, allocations: 12.03 kB / 472.1 MB, free: 13.41 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.3919, allocations: 0.5098 MB / 472.6 MB, free: 12.9 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00585/0.3978, allocations: 2.528 MB / 475.2 MB, free: 10.33 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/0.398, allocations: 267 kB / 475.4 MB, free: 10.07 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008105/0.3988, allocations: 351.9 kB / 475.8 MB, free: 9.727 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.4103, allocations: 5.029 MB / 480.8 MB, free: 4.633 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-05/0.4104, allocations: 11.89 kB / 480.8 MB, free: 4.621 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004004/0.4108, allocations: 144 kB / 480.9 MB, free: 4.48 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/0.411, allocations: 183 kB / 481.1 MB, free: 4.301 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00934/0.4203, allocations: 4.294 MB / 485.4 MB, free: 0 / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03381/0.4541, allocations: 14.59 MB / 0.4883 GB, free: 1.066 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007382/0.4615, allocations: 2.706 MB / 0.4909 GB, free: 14.4 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.005287/0.4668, allocations: 1.874 MB / 0.4928 GB, free: 12.53 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/0.4672, allocations: 57.91 kB / 0.4928 GB, free: 12.47 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.39e-05/0.4672, allocations: 52.56 kB / 0.4929 GB, free: 12.41 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=198): time 6.191e-06/0.4672, allocations: 7.938 kB / 0.4929 GB, free: 12.4 MB / 414.1 MB
Notification: Performance of matching and sorting (n=218): time 0.03199/0.4992, allocations: 9.613 MB / 0.5023 GB, free: 2.777 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/0.4993, allocations: 73.41 kB / 0.5023 GB, free: 2.691 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006111/0.5054, allocations: 2.506 MB / 0.5048 GB, free: 168 kB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0004269/0.5058, allocations: 61.7 kB / 0.5048 GB, free: 100 kB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002102/0.508, allocations: 1.666 MB / 0.5065 GB, free: 14.41 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.5091, allocations: 0.7708 MB / 0.5072 GB, free: 13.64 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009793/0.5101, allocations: 416.5 kB / 0.5076 GB, free: 13.22 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001792/0.5103, allocations: 305.1 kB / 0.5079 GB, free: 12.92 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003004/0.5133, allocations: 1.297 MB / 0.5092 GB, free: 11.62 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/0.5169, allocations: 1.774 MB / 0.5109 GB, free: 9.656 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00741/0.5243, allocations: 3.211 MB / 0.514 GB, free: 6.266 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.5243, allocations: 4 kB / 0.514 GB, free: 6.262 MB / 430.1 MB
Notification: Performance of matching and sorting (n=295) (initialization): time 0.008552/0.5329, allocations: 4.069 MB / 0.518 GB, free: 2.168 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.5329, allocations: 12 kB / 0.518 GB, free: 2.156 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.533, allocations: 12 kB / 0.518 GB, free: 2.145 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003084/0.536, allocations: 0.8909 MB / 0.5189 GB, free: 1.242 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/0.5385, allocations: 0.5227 MB / 0.5194 GB, free: 0.7188 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.5509, allocations: 9.179 MB / 0.5284 GB, free: 7.195 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/0.5536, allocations: 119.9 kB / 0.5285 GB, free: 7.078 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/0.5539, allocations: 83.98 kB / 0.5286 GB, free: 6.996 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.002637/0.5565, allocations: 1.219 MB / 0.5298 GB, free: 5.766 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000823/0.5574, allocations: 290.2 kB / 0.53 GB, free: 5.48 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007411/0.5648, allocations: 3.699 MB / 0.5337 GB, free: 1.75 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.108e-05/0.5648, allocations: 20 kB / 0.5337 GB, free: 1.73 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/0.5648, allocations: 12 kB / 0.5337 GB, free: 1.719 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/0.5649, allocations: 11.95 kB / 0.5337 GB, free: 1.707 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2603/0.8251, allocations: 7.974 MB / 0.5415 GB, free: 104.3 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.8251, allocations: 0 / 0.5415 GB, free: 104.3 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.8267, allocations: 386.1 kB / 0.5419 GB, free: 104.2 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002843/0.8295, allocations: 0.9315 MB / 0.5428 GB, free: 104 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.8297, allocations: 54.84 kB / 0.5428 GB, free: 104 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009147/0.8388, allocations: 10.68 MB / 0.5532 GB, free: 96.46 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.8388, allocations: 6.969 kB / 0.5533 GB, free: 96.46 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006935/0.8458, allocations: 5.505 MB / 0.5586 GB, free: 93.33 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001554/0.8473, allocations: 0.5787 MB / 0.5592 GB, free: 92.9 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/0.8477, allocations: 51.98 kB / 0.5592 GB, free: 92.85 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.849, allocations: 123.2 kB / 0.5594 GB, free: 92.73 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003758/0.8494, allocations: 185.7 kB / 0.5595 GB, free: 92.55 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.8495, allocations: 59.3 kB / 0.5596 GB, free: 92.5 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.002276/0.8518, allocations: 1.731 MB / 0.5613 GB, free: 90.76 MB / 446.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.8518, allocations: 0 / 0.5613 GB, free: 90.76 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.002398/0.8542, allocations: 0.801 MB / 0.5621 GB, free: 89.96 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.000623/0.8548, allocations: 232.6 kB / 0.5623 GB, free: 89.75 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.005077/0.8599, allocations: 3.618 MB / 0.5658 GB, free: 86.1 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.8599, allocations: 0 / 0.5658 GB, free: 86.1 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.003136/0.8631, allocations: 2.322 MB / 0.5681 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.003341/0.8664, allocations: 0.7834 MB / 0.5689 GB, free: 82.98 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.8768, allocations: 7.906 MB / 0.5766 GB, free: 75.05 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/0.8786, allocations: 2.773 MB / 0.5793 GB, free: 72.25 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001753/0.8803, allocations: 0.6866 MB / 0.58 GB, free: 71.56 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/0.8808, allocations: 179.4 kB / 0.5801 GB, free: 71.39 MB / 446.1 MB
Notification: Performance of SimCode: time 1.012e-06/0.8808, allocations: 0 / 0.5801 GB, free: 71.39 MB / 446.1 MB
Notification: Performance of Templates: time 0.06348/0.9443, allocations: 46.62 MB / 0.6257 GB, free: 25.35 MB / 446.1 MB
"
[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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/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: 7.84008365124464]