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.001679/0.001679, allocations: 99.66 kB / 21.18 MB, free: 0.6445 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.001996/0.001996, allocations: 210 kB / 24.48 MB, free: 3.938 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.599/1.599, allocations: 230.6 MB / 258.2 MB, free: 7.738 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.001578/0.001578, allocations: 47.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2437, allocations: 53.37 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01798/0.2617, allocations: 11.32 MB / 443.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.2734, allocations: 4.035 MB / 447.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002981/0.2764, allocations: 99.31 kB / 447.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003962/0.2803, allocations: 0.9665 MB / 448.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.286, allocations: 1.235 MB / 450 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.2882, allocations: 0.5305 MB / 450.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007005/0.2952, allocations: 4.653 MB / 455.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003909/0.2991, allocations: 2.003 MB / 457.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004388/0.3035, allocations: 2.196 MB / 459.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004609/0.3081, allocations: 2.537 MB / 461.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.3095, allocations: 0.5508 MB / 462.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.3116, allocations: 0.6483 MB / 463.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001898/0.3135, allocations: 1.543 MB / 464.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003459/0.317, allocations: 2.011 MB / 466.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008251/0.3252, allocations: 7.509 MB / 474.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3252, allocations: 0 / 474.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3252, allocations: 0 / 474.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.3253, allocations: 0 / 474.2 MB, free: 12.66 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.009434/0.3348, allocations: 4.752 MB / 478.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3348, allocations: 8.031 kB / 479 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.3364, allocations: 0.5448 MB / 479.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005367/0.3418, allocations: 2.544 MB / 482 MB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.342, allocations: 267 kB / 482.3 MB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005943/0.3426, allocations: 352 kB / 482.6 MB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008808/0.3514, allocations: 5.28 MB / 487.9 MB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-05/0.3515, allocations: 7.953 kB / 487.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003356/0.3518, allocations: 152 kB / 488.1 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/0.352, allocations: 179.1 kB / 488.3 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007474/0.3595, allocations: 4.294 MB / 492.6 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.3831, allocations: 12.86 MB / 0.4936 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/0.3871, allocations: 2.688 MB / 0.4962 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003216/0.3903, allocations: 1.881 MB / 0.498 GB, free: 8.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.3906, allocations: 49.97 kB / 0.4981 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.3906, allocations: 60.56 kB / 0.4981 GB, free: 8.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.227e-06/0.3906, allocations: 0 / 0.4981 GB, free: 8.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02071/0.4113, allocations: 9.58 MB / 0.5075 GB, free: 14.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.4114, allocations: 73.41 kB / 0.5076 GB, free: 14.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/0.4148, allocations: 2.195 MB / 0.5097 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.415, allocations: 65.69 kB / 0.5098 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.4164, allocations: 1.68 MB / 0.5114 GB, free: 10.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000721/0.4171, allocations: 0.763 MB / 0.5122 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006946/0.4178, allocations: 424.4 kB / 0.5126 GB, free: 9.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4179, allocations: 301.1 kB / 0.5128 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.42, allocations: 1.297 MB / 0.5141 GB, free: 7.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/0.4225, allocations: 1.782 MB / 0.5159 GB, free: 5.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004724/0.4272, allocations: 3.211 MB / 0.519 GB, free: 2.379 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.4273, allocations: 8 kB / 0.519 GB, free: 2.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007285/0.4345, allocations: 4.053 MB / 0.523 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.4346, allocations: 8 kB / 0.523 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.4346, allocations: 16 kB / 0.523 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.4374, allocations: 0.8797 MB / 0.5238 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.4395, allocations: 0.5265 MB / 0.5243 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.4506, allocations: 8.995 MB / 0.5331 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.4528, allocations: 119.8 kB / 0.5332 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002691/0.453, allocations: 88 kB / 0.5333 GB, free: 3.344 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.002264/0.4553, allocations: 1.219 MB / 0.5345 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006464/0.4559, allocations: 258.4 kB / 0.5348 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2426/0.6985, allocations: 3.673 MB / 0.5384 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.6985, allocations: 23.81 kB / 0.5384 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/0.6986, allocations: 7.469 kB / 0.5384 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.027e-05/0.6986, allocations: 14.69 kB / 0.5384 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.7118, allocations: 7.102 MB / 0.5453 GB, free: 97.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.7118, allocations: 6.438 kB / 0.5453 GB, free: 97.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.7133, allocations: 387.6 kB / 0.5457 GB, free: 97.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002654/0.7159, allocations: 0.9177 MB / 0.5466 GB, free: 97.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.7161, allocations: 54.23 kB / 0.5467 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008893/0.725, allocations: 10.5 MB / 0.5569 GB, free: 89.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.725, allocations: 4 kB / 0.5569 GB, free: 89.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00722/0.7322, allocations: 5.48 MB / 0.5623 GB, free: 83.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/0.7339, allocations: 0.5384 MB / 0.5628 GB, free: 83.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000379/0.7343, allocations: 51.98 kB / 0.5628 GB, free: 83.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.7355, allocations: 111.9 kB / 0.5629 GB, free: 83.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003841/0.7359, allocations: 197.6 kB / 0.5631 GB, free: 83.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.736, allocations: 55.98 kB / 0.5632 GB, free: 83.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001856/0.7379, allocations: 1.497 MB / 0.5647 GB, free: 81.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7379, allocations: 0 / 0.5647 GB, free: 81.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002056/0.7399, allocations: 0.7871 MB / 0.5654 GB, free: 80.78 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.0004802/0.7404, allocations: 254 kB / 0.5657 GB, free: 80.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004702/0.7451, allocations: 3.614 MB / 0.5692 GB, free: 76.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7451, allocations: 4 kB / 0.5692 GB, free: 76.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.7481, allocations: 2.311 MB / 0.5715 GB, free: 74.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/0.7509, allocations: 0.6265 MB / 0.5721 GB, free: 73.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.762, allocations: 7.86 MB / 0.5797 GB, free: 66.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/0.7639, allocations: 2.184 MB / 0.5819 GB, free: 63.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008472/0.7647, allocations: 175.4 kB / 0.582 GB, free: 63.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7647, allocations: 0 / 0.582 GB, free: 63.67 MB / 446.1 MB Notification: Performance of Templates: time 0.1429/0.9076, allocations: 141.3 MB / 0.7201 GB, free: 2.324 MB / 0.5137 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/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: 16.9077159720473]