Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001361/0.001361, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.0008961/0.0008961, allocations: 166.6 kB / 24.91 MB, free: 9.195 MB / 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 0.8827/0.8827, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.287e-06/1.037e-05, allocations: 2.312 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.0117/0.01172, allocations: 16.72 MB / 290.1 MB, free: 416 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.102/0.1137, allocations: 6.088 MB / 296.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.1155, allocations: 143.2 kB / 296.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.1178, allocations: 1.39 MB / 297.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.1209, allocations: 1.911 MB / 299.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.1225, allocations: 1.085 MB / 300.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004583/0.1271, allocations: 6.671 MB / 307.4 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003159/0.1302, allocations: 2.849 MB / 310.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004928/0.1351, allocations: 4.611 MB / 314.9 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00338/0.1385, allocations: 3.21 MB / 318.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008619/0.1394, allocations: 0.7812 MB / 318.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.1407, allocations: 1.067 MB / 319.9 MB, free: 1.664 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009348/0.1417, allocations: 1.943 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.1439, allocations: 2.318 MB / 324.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.1486, allocations: 5.563 MB / 329.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1486, allocations: 0 / 329.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1486, allocations: 0 / 329.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.376e-05/0.1487, allocations: 0 / 329.8 MB, free: 8.289 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.006587/0.1553, allocations: 6.328 MB / 336.1 MB, free: 2.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1553, allocations: 11.98 kB / 336.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/0.1581, allocations: 1.452 MB / 337.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.1607, allocations: 2.196 MB / 339.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.1609, allocations: 368.6 kB / 340.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000446/0.1614, allocations: 489.3 kB / 340.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.165, allocations: 3.85 MB / 344.4 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.864e-05/0.1651, allocations: 2.031 kB / 344.4 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.1654, allocations: 202 kB / 344.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.1655, allocations: 257.8 kB / 344.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.1676, allocations: 1.463 MB / 346.3 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.1799, allocations: 12.61 MB / 359 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.1826, allocations: 2.512 MB / 361.5 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.1836, allocations: 0.9467 MB / 362.4 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004051/0.1877, allocations: 2.91 MB / 365.3 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1877, allocations: 64.5 kB / 365.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=219): time 3.066e-06/0.1877, allocations: 0 / 365.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=226): time 0.005808/0.1935, allocations: 3.958 MB / 369.3 MB, free: 1.301 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1935, allocations: 77.34 kB / 369.4 MB, free: 1.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.1948, allocations: 1.8 MB / 371.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.636e-05/0.1949, allocations: 65.7 kB / 371.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007079/0.1956, allocations: 1.872 MB / 373.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/0.196, allocations: 0.7938 MB / 374 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004387/0.1964, allocations: 445 kB / 374.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.1965, allocations: 301.1 kB / 374.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.1969, allocations: 316.6 kB / 375 MB, free: 11.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/0.1976, allocations: 0.9103 MB / 375.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.1988, allocations: 1.471 MB / 377.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.1988, allocations: 4 kB / 377.4 MB, free: 8.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.001954/0.2008, allocations: 1.696 MB / 379.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.2008, allocations: 16.06 kB / 379.1 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.2008, allocations: 20 kB / 379.1 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.202, allocations: 0.5767 MB / 379.7 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.203, allocations: 0.5344 MB / 380.2 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004223/0.2073, allocations: 7.326 MB / 387.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.2079, allocations: 87.94 kB / 387.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.208, allocations: 84.03 kB / 387.7 MB, free: 13.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (278): * Single equations (assignments): 273 * 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,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006472/0.2087, allocations: 268 kB / 388 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.209, allocations: 259.7 kB / 388.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.2109, allocations: 1.57 MB / 389.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.2109, allocations: 24 kB / 389.8 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.2109, allocations: 11.98 kB / 389.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.2109, allocations: 11.95 kB / 389.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/0.2153, allocations: 3.597 MB / 393.4 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.2153, allocations: 7.938 kB / 393.4 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007395/0.2161, allocations: 331.8 kB / 393.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.2175, allocations: 0.7061 MB / 394.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.2176, allocations: 59.97 kB / 394.5 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006658/0.2242, allocations: 10.94 MB / 405.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2242, allocations: 4 kB / 405.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.2272, allocations: 2.063 MB / 407.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007333/0.2279, allocations: 342 kB / 407.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.2281, allocations: 47.98 kB / 407.9 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.2287, allocations: 95.95 kB / 408 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.229, allocations: 173.6 kB / 408.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/0.2291, allocations: 51.98 kB / 408.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000799/0.2299, allocations: 0.9196 MB / 409.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2299, allocations: 0 / 409.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002053/0.2319, allocations: 0.9451 MB / 410.1 MB, free: 6.785 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004784/0.2324, allocations: 267.6 kB / 410.4 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.2344, allocations: 1.904 MB / 412.3 MB, free: 4.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.294e-05/0.2344, allocations: 30.75 kB / 412.3 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.2359, allocations: 1.694 MB / 414 MB, free: 2.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.2374, allocations: 0.7366 MB / 414.7 MB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008262/0.2456, allocations: 7.76 MB / 422.5 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008866/0.2465, allocations: 1.062 MB / 423.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008101/0.2473, allocations: 368.3 kB / 423.9 MB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.2485, allocations: 0.6747 MB / 424.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2485, allocations: 3.938 kB / 424.6 MB, free: 8.051 MB / 378.7 MB Notification: Performance of Templates: time 0.143/0.3914, allocations: 46.47 MB / 471.1 MB, free: 82.76 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.053499675355852]