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.001903/0.001903, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001564/0.001564, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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 0.001572/0.001572, allocations: 47.92 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2794, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01561/0.295, allocations: 11.32 MB / 442.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.3052, allocations: 4.043 MB / 447 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.3079, allocations: 95.38 kB / 447 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.3116, allocations: 0.9665 MB / 448 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.3165, allocations: 1.243 MB / 449.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.3187, allocations: 0.5228 MB / 449.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008007/0.3267, allocations: 4.66 MB / 454.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005157/0.3319, allocations: 2.074 MB / 456.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/0.3376, allocations: 2.19 MB / 458.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005622/0.3432, allocations: 2.631 MB / 461.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00224/0.3455, allocations: 0.5508 MB / 461.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/0.3485, allocations: 0.6483 MB / 462.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003019/0.3515, allocations: 1.543 MB / 464.1 MB, free: 6.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005666/0.3572, allocations: 2.015 MB / 466.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.3684, allocations: 7.506 MB / 473.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3685, allocations: 0 / 473.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3685, allocations: 0 / 473.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002207/0.3687, allocations: 0 / 473.6 MB, free: 12.5 MB / 382.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.01195/0.3806, allocations: 4.748 MB / 478.3 MB, free: 7.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3807, allocations: 12.03 kB / 478.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.3825, allocations: 0.5487 MB / 478.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006308/0.3888, allocations: 2.552 MB / 481.5 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.3891, allocations: 263 kB / 481.7 MB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006741/0.3897, allocations: 348 kB / 482.1 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.3999, allocations: 5.283 MB / 487.3 MB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.4, allocations: 11.89 kB / 487.3 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003728/0.4004, allocations: 140 kB / 487.5 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/0.4006, allocations: 183 kB / 487.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008456/0.409, allocations: 4.291 MB / 492 MB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02823/0.4373, allocations: 12.86 MB / 0.493 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004402/0.4417, allocations: 2.699 MB / 0.4956 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/0.4451, allocations: 1.874 MB / 0.4974 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.4454, allocations: 57.97 kB / 0.4975 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.4454, allocations: 56.56 kB / 0.4976 GB, free: 8.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.749e-06/0.4454, allocations: 0 / 0.4976 GB, free: 8.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02162/0.467, allocations: 9.579 MB / 0.5069 GB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.4671, allocations: 77.41 kB / 0.507 GB, free: 14.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/0.471, allocations: 2.199 MB / 0.5091 GB, free: 12.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002579/0.4713, allocations: 61.7 kB / 0.5092 GB, free: 12.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.4728, allocations: 1.672 MB / 0.5108 GB, free: 10.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008458/0.4737, allocations: 0.7669 MB / 0.5116 GB, free: 9.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007755/0.4744, allocations: 424.4 kB / 0.512 GB, free: 9.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4746, allocations: 301.1 kB / 0.5123 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.4769, allocations: 1.301 MB / 0.5135 GB, free: 7.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/0.4796, allocations: 1.786 MB / 0.5153 GB, free: 5.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005167/0.4847, allocations: 3.208 MB / 0.5184 GB, free: 2.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.4847, allocations: 4 kB / 0.5184 GB, free: 2.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007669/0.4924, allocations: 4.046 MB / 0.5224 GB, free: 14.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.4924, allocations: 16.06 kB / 0.5224 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-05/0.4925, allocations: 12 kB / 0.5224 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003204/0.4957, allocations: 0.8794 MB / 0.5233 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.498, allocations: 0.5227 MB / 0.5238 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.5099, allocations: 8.998 MB / 0.5325 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.5121, allocations: 131.8 kB / 0.5327 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/0.5124, allocations: 87.98 kB / 0.5328 GB, free: 3.176 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.002261/0.5147, allocations: 1.222 MB / 0.534 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005921/0.5153, allocations: 262.4 kB / 0.5342 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.244/0.7592, allocations: 3.664 MB / 0.5378 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.7593, allocations: 26.62 kB / 0.5378 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/0.7593, allocations: 6.5 kB / 0.5378 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.319e-05/0.7593, allocations: 10.55 kB / 0.5378 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.7732, allocations: 7.109 MB / 0.5448 GB, free: 97.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.7732, allocations: 3.688 kB / 0.5448 GB, free: 97.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/0.7748, allocations: 385 kB / 0.5451 GB, free: 97.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/0.7778, allocations: 0.9222 MB / 0.546 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.778, allocations: 58.7 kB / 0.5461 GB, free: 97.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008892/0.7869, allocations: 10.49 MB / 0.5563 GB, free: 88.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7869, allocations: 7.172 kB / 0.5563 GB, free: 88.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007512/0.7944, allocations: 5.479 MB / 0.5617 GB, free: 83.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/0.7964, allocations: 0.5384 MB / 0.5622 GB, free: 83.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006446/0.797, allocations: 62.88 kB / 0.5623 GB, free: 83.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.7985, allocations: 111.9 kB / 0.5624 GB, free: 83.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004208/0.7989, allocations: 189.6 kB / 0.5626 GB, free: 82.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.799, allocations: 59.98 kB / 0.5626 GB, free: 82.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001958/0.801, allocations: 1.497 MB / 0.5641 GB, free: 81.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.801, allocations: 0 / 0.5641 GB, free: 81.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002581/0.8036, allocations: 0.7971 MB / 0.5649 GB, free: 80.61 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.0006394/0.8042, allocations: 232.2 kB / 0.5651 GB, free: 80.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005044/0.8093, allocations: 3.622 MB / 0.5686 GB, free: 76.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.8093, allocations: 0 / 0.5686 GB, free: 76.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003172/0.8124, allocations: 2.314 MB / 0.5709 GB, free: 74.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/0.8156, allocations: 0.6324 MB / 0.5715 GB, free: 73.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.8272, allocations: 7.84 MB / 0.5792 GB, free: 65.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/0.8291, allocations: 2.239 MB / 0.5813 GB, free: 63.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002021/0.8312, allocations: 0.6414 MB / 0.582 GB, free: 63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.8317, allocations: 167.4 kB / 0.5821 GB, free: 62.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.8317, allocations: 0 / 0.5821 GB, free: 62.84 MB / 446.1 MB Notification: Performance of Templates: time 0.06121/0.8929, allocations: 45.87 MB / 0.6269 GB, free: 17.59 MB / 446.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: 8.030505314934999]