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.001362/0.001362, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.004737/0.004737, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9652/0.9652, allocations: 177 MB / 204.8 MB, free: 5.57 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.343e-06/1.343e-06, allocations: 0 / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.382e-05, allocations: 2.312 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01355/0.01357, allocations: 17.32 MB / 290.3 MB, free: 12 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1215/0.135, allocations: 5.892 MB / 296.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.1379, allocations: 144.6 kB / 296.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003439/0.1414, allocations: 1.371 MB / 297.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.1465, allocations: 1.892 MB / 299.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.1487, allocations: 1.096 MB / 300.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006404/0.1551, allocations: 6.656 MB / 307.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003767/0.1589, allocations: 2.78 MB / 310.1 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006189/0.1651, allocations: 4.611 MB / 314.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004821/0.1699, allocations: 3.19 MB / 317.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001965/0.1719, allocations: 0.7852 MB / 318.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.1749, allocations: 1.067 MB / 319.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.1763, allocations: 1.949 MB / 321.7 MB, free: 256 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004076/0.1804, allocations: 2.317 MB / 324 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007107/0.1875, allocations: 5.553 MB / 329.6 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1875, allocations: 3.984 kB / 329.6 MB, free: 8.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1875, allocations: 0 / 329.6 MB, free: 8.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002532/0.1878, allocations: 0 / 329.6 MB, free: 8.719 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.1984, allocations: 6.928 MB / 336.5 MB, free: 1.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.1984, allocations: 11.98 kB / 336.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.2019, allocations: 1.642 MB / 338.1 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005968/0.2079, allocations: 3.456 MB / 341.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.2082, allocations: 367.6 kB / 342 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007645/0.2089, allocations: 494.3 kB / 342.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006551/0.2155, allocations: 4.106 MB / 346.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.142e-05/0.2156, allocations: 7.938 kB / 346.6 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002941/0.2158, allocations: 201 kB / 346.8 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/0.216, allocations: 253.8 kB / 347 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004124/0.2201, allocations: 1.85 MB / 348.8 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/0.2395, allocations: 16.37 MB / 365.2 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.2433, allocations: 3.087 MB / 368.3 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.2449, allocations: 1.191 MB / 369.5 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005753/0.2507, allocations: 3.876 MB / 373.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.2507, allocations: 63.39 kB / 373.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=219): time 4.178e-06/0.2507, allocations: 0 / 373.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=226): time 0.009186/0.2599, allocations: 5.3 MB / 378.7 MB, free: 7.367 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.26, allocations: 77.41 kB / 378.8 MB, free: 7.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.2626, allocations: 2.241 MB / 381.1 MB, free: 5.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.2627, allocations: 61.7 kB / 381.1 MB, free: 4.953 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.2641, allocations: 2.393 MB / 383.5 MB, free: 2.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004995/0.2646, allocations: 0.8172 MB / 384.3 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/0.2651, allocations: 499.7 kB / 384.8 MB, free: 1.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.2652, allocations: 480.8 kB / 385.3 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.2659, allocations: 392.9 kB / 385.7 MB, free: 392 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.2672, allocations: 1.312 MB / 387 MB, free: 14.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.2691, allocations: 1.872 MB / 388.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.2692, allocations: 8 kB / 388.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.003395/0.2726, allocations: 2.327 MB / 391.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.2726, allocations: 16.06 kB / 391.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.2726, allocations: 27.92 kB / 391.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.2741, allocations: 0.6339 MB / 391.9 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.2753, allocations: 0.5577 MB / 392.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/0.2818, allocations: 10 MB / 402.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.2831, allocations: 103.9 kB / 402.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.2832, allocations: 100 kB / 402.6 MB, free: 14.2 MB / 362.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.00116/0.2844, allocations: 319.8 kB / 402.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/0.2849, allocations: 386.1 kB / 403.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/0.2878, allocations: 2.032 MB / 405.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.2878, allocations: 27.94 kB / 405.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/0.2878, allocations: 8 kB / 405.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.2878, allocations: 11.95 kB / 405.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007781/0.2956, allocations: 5.584 MB / 411 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2956, allocations: 0 / 411 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008344/0.2964, allocations: 339.8 kB / 411.3 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.2982, allocations: 0.7955 MB / 412.1 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.2983, allocations: 55.98 kB / 412.2 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008886/0.3072, allocations: 14.92 MB / 427.1 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.3072, allocations: 11.97 kB / 427.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/0.3113, allocations: 2.717 MB / 429.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009109/0.3122, allocations: 0.5448 MB / 430.3 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.3124, allocations: 59.92 kB / 430.4 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/0.3131, allocations: 103.9 kB / 430.5 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.3134, allocations: 197.6 kB / 430.7 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.048e-05/0.3135, allocations: 59.98 kB / 430.8 MB, free: 1.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1171/0.4306, allocations: 1.262 MB / 432 MB, free: 96.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4306, allocations: 0 / 432 MB, free: 96.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003405/0.434, allocations: 0.9361 MB / 433 MB, free: 96.48 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.0006951/0.4347, allocations: 259.6 kB / 433.2 MB, free: 96.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003476/0.4382, allocations: 2.432 MB / 435.6 MB, free: 95.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.4382, allocations: 2.094 kB / 435.6 MB, free: 95.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.4405, allocations: 2.197 MB / 437.8 MB, free: 94.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.443, allocations: 0.7528 MB / 438.6 MB, free: 94.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.4551, allocations: 8.081 MB / 446.7 MB, free: 91.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.4563, allocations: 1.322 MB / 448 MB, free: 91.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001685/0.458, allocations: 0.5885 MB / 448.6 MB, free: 91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/0.4585, allocations: 186.6 kB / 448.8 MB, free: 90.99 MB / 378.7 MB Notification: Performance of SimCode: time 2.634e-06/0.4585, allocations: 0 / 448.8 MB, free: 90.99 MB / 378.7 MB Notification: Performance of Templates: time 0.05014/0.5086, allocations: 45.41 MB / 494.2 MB, free: 57 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.454168634023517]