Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001862/0.001862, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001976/0.001976, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.549/1.549, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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: 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.583e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01745/0.01748, allocations: 12.73 MB / 284.9 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009176/0.02665, allocations: 4.217 MB / 289.2 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/0.02891, allocations: 99.31 kB / 289.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.132/0.1609, allocations: 0.9641 MB / 290.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004489/0.1654, allocations: 1.304 MB / 291.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.1671, allocations: 0.5328 MB / 292.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006049/0.1731, allocations: 4.854 MB / 296.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003678/0.1768, allocations: 2.019 MB / 298.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006473/0.1833, allocations: 3.251 MB / 302.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004407/0.1877, allocations: 2.498 MB / 304.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.1888, allocations: 0.5588 MB / 305.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.1907, allocations: 0.6503 MB / 305.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.1919, allocations: 1.613 MB / 307.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.1945, allocations: 1.749 MB / 309.2 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006057/0.2005, allocations: 7.629 MB / 316.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2005, allocations: 0 / 316.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2005, allocations: 0 / 316.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001828/0.2007, allocations: 0 / 316.9 MB, free: 2.863 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01104/0.2117, allocations: 5.363 MB / 322.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2118, allocations: 11.98 kB / 322.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.2141, allocations: 0.837 MB / 323.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005636/0.2197, allocations: 2.442 MB / 325.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/0.22, allocations: 266.5 kB / 325.8 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007057/0.2207, allocations: 359.7 kB / 326.1 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.2314, allocations: 5.05 MB / 331.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-05/0.2315, allocations: 4 kB / 331.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003658/0.2319, allocations: 154 kB / 331.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/0.2321, allocations: 187.7 kB / 331.5 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007444/0.2396, allocations: 3.488 MB / 335 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03092/0.2705, allocations: 18.2 MB / 353.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/0.2745, allocations: 2.244 MB / 355.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003106/0.2776, allocations: 1.514 MB / 357 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.2779, allocations: 69.95 kB / 357 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.2781, allocations: 59.39 kB / 357.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.017e-06/0.2781, allocations: 0 / 357.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.01749/0.2955, allocations: 7.135 MB / 364.2 MB, free: 3.066 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.2956, allocations: 73.41 kB / 364.3 MB, free: 2.984 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/0.2999, allocations: 2.603 MB / 366.9 MB, free: 348 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.3001, allocations: 61.7 kB / 367 MB, free: 280 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002105/0.3022, allocations: 1.898 MB / 368.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.3032, allocations: 0.8425 MB / 369.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009086/0.3042, allocations: 0.5025 MB / 370.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.3044, allocations: 484.7 kB / 370.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.3062, allocations: 0.8633 MB / 371.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.3087, allocations: 1.615 MB / 373.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/0.3136, allocations: 2.755 MB / 375.9 MB, free: 6.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.3136, allocations: 4 kB / 375.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006863/0.3205, allocations: 3.192 MB / 379.1 MB, free: 3.734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.3205, allocations: 11.44 kB / 379.1 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.3205, allocations: 16 kB / 379.1 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/0.3237, allocations: 0.7252 MB / 379.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.3259, allocations: 0.525 MB / 380.4 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.3377, allocations: 9.078 MB / 389.5 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.3397, allocations: 111.9 kB / 389.6 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.34, allocations: 88 kB / 389.7 MB, free: 8.871 MB / 346.7 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.002032/0.342, allocations: 1.026 MB / 390.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000753/0.3427, allocations: 330.4 kB / 391 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00593/0.3487, allocations: 2.74 MB / 393.8 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/0.3487, allocations: 20 kB / 393.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.3487, allocations: 11.47 kB / 393.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.3487, allocations: 7.969 kB / 393.8 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.3641, allocations: 7.035 MB / 400.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.3641, allocations: 3.984 kB / 400.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.3658, allocations: 385.4 kB / 401.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/0.3692, allocations: 0.7798 MB / 402 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.3694, allocations: 51.97 kB / 402 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.3826, allocations: 10.72 MB / 412.8 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.3826, allocations: 0 / 412.8 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008366/0.391, allocations: 3.976 MB / 416.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/0.393, allocations: 0.4982 MB / 417.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/0.3934, allocations: 55.92 kB / 417.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.3947, allocations: 115.9 kB / 417.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005587/0.3953, allocations: 192.8 kB / 417.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.3955, allocations: 55.98 kB / 417.6 MB, free: 12.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00317/0.3986, allocations: 1.524 MB / 419.2 MB, free: 10.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3986, allocations: 4 kB / 419.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003141/0.4018, allocations: 0.8 MB / 420 MB, free: 10.05 MB / 378.7 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.0007889/0.4026, allocations: 240 kB / 420.2 MB, free: 9.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006316/0.4089, allocations: 3.163 MB / 423.4 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4089, allocations: 256 / 423.4 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004068/0.413, allocations: 2.214 MB / 425.6 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/0.4166, allocations: 0.6666 MB / 426.3 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1375/0.5541, allocations: 7.027 MB / 433.3 MB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002702/0.5568, allocations: 2.081 MB / 435.4 MB, free: 111.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002078/0.5589, allocations: 0.5061 MB / 435.9 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.5595, allocations: 164.6 kB / 436 MB, free: 111.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.375e-06/0.5595, allocations: 0 / 436 MB, free: 111.4 MB / 378.7 MB Notification: Performance of Templates: time 0.06019/0.6197, allocations: 40.45 MB / 476.5 MB, free: 84.99 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.8077805020147935]