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.002124/0.002124, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001929/0.001929, allocations: 156.9 kB / 24.27 MB, free: 172 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.492/1.492, allocations: 177 MB / 204.4 MB, free: 5.625 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 2.335e-06/2.335e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.538e-05, allocations: 6.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.01706/0.0171, allocations: 11.36 MB / 283.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.02821, allocations: 4.069 MB / 287.6 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.03112, allocations: 103.3 kB / 287.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003258/0.03437, allocations: 0.978 MB / 288.7 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1648/0.1992, allocations: 1.297 MB / 290 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.2012, allocations: 0.5404 MB / 290.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006418/0.2076, allocations: 4.84 MB / 295.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.2109, allocations: 2.007 MB / 297.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008225/0.2192, allocations: 3.223 MB / 300.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005439/0.2246, allocations: 2.3 MB / 302.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.2265, allocations: 0.5547 MB / 303.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.2291, allocations: 0.6543 MB / 304.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.2305, allocations: 1.592 MB / 305.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003008/0.2335, allocations: 1.732 MB / 307.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006207/0.2397, allocations: 7.58 MB / 315 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2397, allocations: 0.9375 kB / 315 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2398, allocations: 3.938 kB / 315 MB, free: 4.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002013/0.24, allocations: 0 / 315 MB, free: 4.512 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.008704/0.2487, allocations: 4.723 MB / 319.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2487, allocations: 11.98 kB / 319.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.251, allocations: 0.8413 MB / 320.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00559/0.2566, allocations: 2.649 MB / 323.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.2569, allocations: 267.2 kB / 323.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007409/0.2576, allocations: 356 kB / 323.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.2692, allocations: 5.314 MB / 329.2 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.204e-05/0.2693, allocations: 11.83 kB / 329.2 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003892/0.2697, allocations: 146.6 kB / 329.4 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002534/0.2699, allocations: 192.3 kB / 329.5 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008716/0.2786, allocations: 4.302 MB / 333.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03141/0.31, allocations: 13.1 MB / 346.9 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005129/0.3152, allocations: 2.696 MB / 349.6 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003799/0.319, allocations: 1.884 MB / 351.5 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/0.3193, allocations: 69.97 kB / 351.6 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.178e-05/0.3194, allocations: 55.56 kB / 351.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 3.597e-06/0.3194, allocations: 0 / 351.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.02511/0.3445, allocations: 9.667 MB / 361.3 MB, free: 6.324 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.3446, allocations: 85.41 kB / 361.4 MB, free: 6.227 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/0.35, allocations: 2.191 MB / 363.6 MB, free: 4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003746/0.3504, allocations: 69.64 kB / 363.7 MB, free: 3.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.3523, allocations: 1.683 MB / 365.3 MB, free: 2.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.3534, allocations: 0.7594 MB / 366.1 MB, free: 1.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.3545, allocations: 412.5 kB / 366.5 MB, free: 1.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3547, allocations: 301.1 kB / 366.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/0.3573, allocations: 1.301 MB / 368.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/0.3603, allocations: 1.777 MB / 369.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006108/0.3664, allocations: 3.218 MB / 373.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.319e-05/0.3664, allocations: 4 kB / 373.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009022/0.3755, allocations: 4.154 MB / 377.2 MB, free: 6.094 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.3755, allocations: 8 kB / 377.3 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/0.3757, allocations: 12 kB / 377.3 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003633/0.3793, allocations: 0.9364 MB / 378.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.3817, allocations: 0.5256 MB / 378.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.3956, allocations: 9.039 MB / 387.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.3979, allocations: 115.9 kB / 387.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/0.3984, allocations: 87.98 kB / 388 MB, free: 11.13 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.002994/0.4014, allocations: 1.223 MB / 389.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/0.4025, allocations: 342.3 kB / 389.5 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007793/0.4103, allocations: 3.674 MB / 393.2 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.599e-05/0.4104, allocations: 24 kB / 393.2 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/0.4104, allocations: 4 kB / 393.2 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.4104, allocations: 11.97 kB / 393.2 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/0.4272, allocations: 7.12 MB / 400.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.4273, allocations: 4 kB / 400.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.4291, allocations: 381.7 kB / 400.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00387/0.4329, allocations: 0.9828 MB / 401.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.4332, allocations: 55.97 kB / 401.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.448, allocations: 10.53 MB / 412.3 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.448, allocations: 4 kB / 412.3 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.4592, allocations: 5.554 MB / 417.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/0.4614, allocations: 0.5489 MB / 418.4 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008787/0.4622, allocations: 51.98 kB / 418.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/0.4641, allocations: 115.9 kB / 418.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005865/0.4647, allocations: 193 kB / 418.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/0.4649, allocations: 59.98 kB / 418.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003549/0.4685, allocations: 1.493 MB / 420.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4685, allocations: 0 / 420.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004143/0.4726, allocations: 0.7968 MB / 421.1 MB, free: 9.594 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.0008195/0.4734, allocations: 242.6 kB / 421.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007574/0.481, allocations: 3.621 MB / 425 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.481, allocations: 4 kB / 425 MB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00473/0.4857, allocations: 2.309 MB / 427.3 MB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/0.4901, allocations: 0.6656 MB / 427.9 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1448/0.6349, allocations: 7.745 MB / 435.7 MB, free: 117.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003563/0.6384, allocations: 2.246 MB / 437.9 MB, free: 117.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002434/0.6409, allocations: 0.6427 MB / 438.6 MB, free: 117.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006938/0.6416, allocations: 166.1 kB / 438.7 MB, free: 117.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.884e-06/0.6416, allocations: 0.6875 kB / 438.7 MB, free: 117.3 MB / 378.7 MB Notification: Performance of Templates: time 0.06039/0.702, allocations: 40.42 MB / 479.2 MB, free: 88.15 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] 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.617822607047856]