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.00125/0.00125, allocations: 85.91 kB / 21.43 MB, free: 3.07 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.00115/0.00115, allocations: 164.6 kB / 24.82 MB, free: 8.934 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.9446/0.9446, allocations: 177 MB / 205.1 MB, free: 5.484 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.743e-06/1.743e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.279e-05, allocations: 6.312 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01902/0.01904, allocations: 16.69 MB / 290.1 MB, free: 432 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1275/0.1465, allocations: 5.846 MB / 295.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/0.1491, allocations: 144.6 kB / 296.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.1522, allocations: 1.372 MB / 297.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004874/0.157, allocations: 1.89 MB / 299.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.1592, allocations: 1.083 MB / 300.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006415/0.1657, allocations: 6.664 MB / 307.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004305/0.17, allocations: 2.779 MB / 309.8 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006997/0.177, allocations: 4.605 MB / 314.4 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004185/0.1811, allocations: 3.215 MB / 317.7 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001667/0.1828, allocations: 0.7812 MB / 318.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.1852, allocations: 1.07 MB / 319.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.1862, allocations: 1.942 MB / 321.5 MB, free: 44 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003771/0.19, allocations: 2.322 MB / 323.8 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006946/0.1969, allocations: 5.55 MB / 329.3 MB, free: 8.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1969, allocations: 0 / 329.3 MB, free: 8.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1969, allocations: 0 / 329.3 MB, free: 8.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002677/0.1972, allocations: 4 kB / 329.3 MB, free: 8.512 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.01063/0.2078, allocations: 6.741 MB / 336.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2079, allocations: 11.98 kB / 336.1 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.2112, allocations: 1.571 MB / 337.7 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/0.2157, allocations: 3.279 MB / 340.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/0.216, allocations: 362.7 kB / 341.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005816/0.2165, allocations: 493.7 kB / 341.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005175/0.2217, allocations: 3.77 MB / 345.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.004e-05/0.2218, allocations: 3.984 kB / 345.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003203/0.2221, allocations: 204.9 kB / 345.7 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/0.2223, allocations: 253.8 kB / 346 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.2248, allocations: 1.419 MB / 347.4 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.2433, allocations: 16.21 MB / 363.6 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.2465, allocations: 2.851 MB / 366.5 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.2477, allocations: 1.051 MB / 367.5 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005162/0.2529, allocations: 3.716 MB / 371.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.2529, allocations: 63.39 kB / 371.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=219): time 3.506e-06/0.2529, allocations: 0 / 371.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=226): time 0.007068/0.26, allocations: 4.324 MB / 375.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.26, allocations: 81.34 kB / 375.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.2619, allocations: 2.181 MB / 377.9 MB, free: 8.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.906e-05/0.262, allocations: 65.7 kB / 377.9 MB, free: 8.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.2632, allocations: 2.405 MB / 380.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.2636, allocations: 0.8251 MB / 381.2 MB, free: 5.461 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005168/0.2641, allocations: 0.5072 MB / 381.7 MB, free: 4.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.2642, allocations: 480.7 kB / 382.1 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.2647, allocations: 296.9 kB / 382.4 MB, free: 4.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008617/0.2655, allocations: 1.229 MB / 383.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.267, allocations: 1.704 MB / 385.4 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.267, allocations: 4 kB / 385.4 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.002681/0.2697, allocations: 2.139 MB / 387.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2697, allocations: 16.09 kB / 387.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.2697, allocations: 16 kB / 387.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.2711, allocations: 0.6167 MB / 388.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.2722, allocations: 0.5461 MB / 388.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.2777, allocations: 9.772 MB / 398.5 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.2789, allocations: 79.98 kB / 398.6 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.279, allocations: 83.98 kB / 398.6 MB, free: 2.777 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.001022/0.28, allocations: 315.8 kB / 398.9 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.2804, allocations: 378.1 kB / 399.3 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.2827, allocations: 1.868 MB / 401.2 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.2827, allocations: 24 kB / 401.2 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2827, allocations: 12 kB / 401.2 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.2828, allocations: 11.95 kB / 401.2 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006746/0.2895, allocations: 4.483 MB / 405.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.2895, allocations: 4 kB / 405.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009978/0.2905, allocations: 331.8 kB / 406 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/0.2925, allocations: 0.7771 MB / 406.8 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.2926, allocations: 59.97 kB / 406.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00959/0.3022, allocations: 14.57 MB / 421.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3022, allocations: 4 kB / 421.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/0.3063, allocations: 2.469 MB / 423.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009694/0.3072, allocations: 0.5057 MB / 424.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.3075, allocations: 52 kB / 424.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008436/0.3083, allocations: 99.88 kB / 424.6 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/0.3087, allocations: 173.6 kB / 424.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.3088, allocations: 55.98 kB / 424.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001334/0.3101, allocations: 1.132 MB / 425.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3101, allocations: 0 / 425.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002694/0.3128, allocations: 0.9413 MB / 426.9 MB, free: 5.617 MB / 378.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.000541/0.3134, allocations: 272.6 kB / 427.1 MB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00289/0.3162, allocations: 2.267 MB / 429.4 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3162, allocations: 4 kB / 429.4 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.3184, allocations: 2.118 MB / 431.5 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.3206, allocations: 0.7545 MB / 432.3 MB, free: 40 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1183/0.4389, allocations: 8.005 MB / 440.3 MB, free: 98.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.44, allocations: 1.322 MB / 441.6 MB, free: 98.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00131/0.4413, allocations: 362.1 kB / 442 MB, free: 98.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/0.4427, allocations: 0.7794 MB / 442.7 MB, free: 98.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4427, allocations: 1.5 kB / 442.7 MB, free: 98.09 MB / 378.7 MB Notification: Performance of Templates: time 0.0532/0.4959, allocations: 46.69 MB / 489.4 MB, free: 65.5 MB / 378.7 MB " [Timeout remaining time 659] 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.387186520732939]