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.001461/0.001461, allocations: 91.5 kB / 21.19 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.001023/0.001023, allocations: 156.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.9478/0.9478, allocations: 177 MB / 204.8 MB, free: 5.258 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.243e-06/1.243e-06, allocations: 0 / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.956e-05, allocations: 2.312 kB / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.1184/0.1184, allocations: 17.31 MB / 290.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009028/0.1275, allocations: 5.9 MB / 296.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.1294, allocations: 142.7 kB / 296.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.1321, allocations: 1.368 MB / 297.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.1356, allocations: 1.891 MB / 299.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.1374, allocations: 1.094 MB / 300.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004998/0.1424, allocations: 6.661 MB / 307.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.1453, allocations: 2.767 MB / 310.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.1494, allocations: 4.514 MB / 314.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.1523, allocations: 3.221 MB / 317.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000894/0.1532, allocations: 0.7891 MB / 318.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.1544, allocations: 1.073 MB / 319.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008481/0.1552, allocations: 1.962 MB / 321.6 MB, free: 172 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.1574, allocations: 2.331 MB / 324 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.162, allocations: 5.585 MB / 329.6 MB, free: 8.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.162, allocations: 0 / 329.6 MB, free: 8.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.162, allocations: 0 / 329.6 MB, free: 8.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001253/0.1622, allocations: 0 / 329.6 MB, free: 8.598 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.008937/0.1711, allocations: 6.944 MB / 336.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1711, allocations: 19.97 kB / 336.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/0.1744, allocations: 1.645 MB / 338.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004167/0.1786, allocations: 3.449 MB / 341.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.1788, allocations: 372.5 kB / 342 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004763/0.1793, allocations: 493.2 kB / 342.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005524/0.1848, allocations: 4.103 MB / 346.6 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.031e-05/0.1849, allocations: 7.5 kB / 346.6 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.1852, allocations: 204.6 kB / 346.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.1854, allocations: 245.9 kB / 347 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003886/0.1892, allocations: 1.861 MB / 348.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0172/0.2064, allocations: 16.4 MB / 365.3 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.2101, allocations: 3.085 MB / 368.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.2117, allocations: 1.19 MB / 369.5 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00567/0.2174, allocations: 3.888 MB / 373.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.2174, allocations: 63.39 kB / 373.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=219): time 3.477e-06/0.2174, allocations: 3.938 kB / 373.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=226): time 0.008183/0.2256, allocations: 5.296 MB / 378.8 MB, free: 7.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.2256, allocations: 81.39 kB / 378.9 MB, free: 7.086 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.2278, allocations: 2.245 MB / 381.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.547e-05/0.2279, allocations: 69.7 kB / 381.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.229, allocations: 2.386 MB / 383.6 MB, free: 2.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/0.2294, allocations: 0.82 MB / 384.4 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007555/0.2301, allocations: 0.4919 MB / 384.9 MB, free: 1.039 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.2302, allocations: 476.8 kB / 385.3 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007688/0.231, allocations: 392.9 kB / 385.7 MB, free: 188 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.2321, allocations: 1.308 MB / 387 MB, free: 14.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.2342, allocations: 1.876 MB / 388.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/0.2342, allocations: 4 kB / 388.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.003092/0.2373, allocations: 2.33 MB / 391.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.2373, allocations: 12 kB / 391.3 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.2374, allocations: 31.92 kB / 391.3 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/0.239, allocations: 0.6253 MB / 391.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.2402, allocations: 0.5577 MB / 392.5 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005858/0.2461, allocations: 10.02 MB / 402.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008891/0.2469, allocations: 107.8 kB / 402.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.2471, allocations: 104 kB / 402.7 MB, free: 13.98 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.0007986/0.2479, allocations: 315.8 kB / 403 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/0.2482, allocations: 382.1 kB / 403.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.251, allocations: 2.032 MB / 405.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.251, allocations: 24 kB / 405.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.2511, allocations: 8 kB / 405.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.2511, allocations: 11.95 kB / 405.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007001/0.2581, allocations: 5.6 MB / 411.1 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.2581, allocations: 4 kB / 411.1 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/0.2589, allocations: 347.8 kB / 411.4 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/0.2605, allocations: 0.7897 MB / 412.2 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.2606, allocations: 59.97 kB / 412.3 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008498/0.2691, allocations: 14.9 MB / 427.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2691, allocations: 7.938 kB / 427.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/0.2732, allocations: 2.73 MB / 429.9 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/0.274, allocations: 0.552 MB / 430.4 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.2742, allocations: 59.92 kB / 430.5 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/0.2749, allocations: 107.9 kB / 430.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/0.2752, allocations: 201.5 kB / 430.8 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.24e-05/0.2753, allocations: 59.98 kB / 430.9 MB, free: 0.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.119/0.3943, allocations: 1.254 MB / 432.1 MB, free: 96.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3943, allocations: 0 / 432.1 MB, free: 96.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003154/0.3974, allocations: 0.944 MB / 433.1 MB, free: 96.7 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.0005615/0.398, allocations: 264.4 kB / 433.3 MB, free: 96.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003059/0.401, allocations: 2.446 MB / 435.8 MB, free: 95.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4011, allocations: 1.125 kB / 435.8 MB, free: 95.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.4029, allocations: 2.192 MB / 438 MB, free: 94.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.405, allocations: 0.748 MB / 438.7 MB, free: 94.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009899/0.4149, allocations: 8.106 MB / 446.8 MB, free: 91.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009587/0.4159, allocations: 1.329 MB / 448.1 MB, free: 91.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001326/0.4172, allocations: 0.5829 MB / 448.7 MB, free: 91.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.4176, allocations: 184.9 kB / 448.9 MB, free: 91.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4176, allocations: 4.656 kB / 448.9 MB, free: 91.18 MB / 378.7 MB Notification: Performance of Templates: time 0.04661/0.4642, allocations: 43.6 MB / 492.5 MB, free: 58.79 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.490087043959647]