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.001019/0.001019, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001027/0.001027, allocations: 172.4 kB / 25.61 MB, free: 8.875 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.9343/0.9343, allocations: 177 MB / 205.9 MB, free: 4.426 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 2.254e-06/2.254e-06, allocations: 4 kB / 274.1 MB, free: 4.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.567e-06/1.182e-05, allocations: 10.03 kB / 274.1 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01244/0.01245, allocations: 16.7 MB / 290.8 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02246, allocations: 5.862 MB / 296.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.02383, allocations: 143.1 kB / 296.9 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.02584, allocations: 1.362 MB / 298.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.02869, allocations: 1.894 MB / 300.1 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.02993, allocations: 1.071 MB / 301.2 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004112/0.03404, allocations: 6.673 MB / 307.9 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002374/0.03641, allocations: 2.768 MB / 310.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004165/0.04058, allocations: 4.613 MB / 315.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.04332, allocations: 3.219 MB / 318.5 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007255/0.04404, allocations: 0.7812 MB / 319.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.04531, allocations: 1.062 MB / 320.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.04664, allocations: 1.948 MB / 322.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.04838, allocations: 2.319 MB / 324.6 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004431/0.05281, allocations: 5.561 MB / 330.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.05281, allocations: 0 / 330.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.05281, allocations: 0 / 330.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.124e-05/0.05285, allocations: 0 / 330.1 MB, free: 11.9 MB / 314.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.007395/0.06025, allocations: 6.737 MB / 336.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.06028, allocations: 8.031 kB / 336.9 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/0.06314, allocations: 1.566 MB / 338.4 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.06617, allocations: 3.282 MB / 341.7 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1137/0.1798, allocations: 362.5 kB / 342.1 MB, free: 47.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.1812, allocations: 487.5 kB / 342.5 MB, free: 47.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006397/0.1876, allocations: 3.77 MB / 346.3 MB, free: 46.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.1877, allocations: 11.88 kB / 346.3 MB, free: 46.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/0.188, allocations: 197.1 kB / 346.5 MB, free: 46.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.1883, allocations: 252 kB / 346.8 MB, free: 46.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.191, allocations: 1.423 MB / 348.2 MB, free: 46.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01934/0.2104, allocations: 16.19 MB / 364.4 MB, free: 40.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/0.2133, allocations: 2.854 MB / 367.2 MB, free: 39.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.2145, allocations: 1.056 MB / 368.3 MB, free: 39.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004933/0.2195, allocations: 3.703 MB / 372 MB, free: 35.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2195, allocations: 59.39 kB / 372 MB, free: 35.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=219): time 3.717e-06/0.2195, allocations: 4 kB / 372.1 MB, free: 35.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=226): time 0.00692/0.2264, allocations: 4.325 MB / 376.4 MB, free: 31.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.2264, allocations: 77.34 kB / 376.5 MB, free: 31.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.2282, allocations: 2.181 MB / 378.6 MB, free: 29.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.531e-05/0.2283, allocations: 73.7 kB / 378.7 MB, free: 29.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008461/0.2292, allocations: 2.404 MB / 381.1 MB, free: 27.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.2295, allocations: 0.8262 MB / 381.9 MB, free: 26.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004501/0.23, allocations: 0.5011 MB / 382.4 MB, free: 26.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.23, allocations: 484.7 kB / 382.9 MB, free: 25.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.2304, allocations: 296.2 kB / 383.2 MB, free: 25.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.2311, allocations: 1.22 MB / 384.4 MB, free: 23.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.2323, allocations: 1.714 MB / 386.1 MB, free: 21.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.2324, allocations: 8 kB / 386.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.002408/0.2348, allocations: 2.108 MB / 388.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.2348, allocations: 12 kB / 388.3 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.2348, allocations: 20 kB / 388.3 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.2361, allocations: 0.6171 MB / 388.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.2372, allocations: 0.5462 MB / 389.4 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/0.2413, allocations: 9.771 MB / 399.2 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.2424, allocations: 87.94 kB / 399.3 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.2425, allocations: 83.98 kB / 399.4 MB, free: 8.59 MB / 314.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.0009929/0.2435, allocations: 319.4 kB / 399.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.2439, allocations: 378.1 kB / 400.1 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.2461, allocations: 1.873 MB / 401.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.2461, allocations: 24 kB / 402 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.2461, allocations: 8 kB / 402 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.2462, allocations: 19.89 kB / 402 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005507/0.2517, allocations: 4.485 MB / 406.5 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2517, allocations: 0 / 406.5 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000745/0.2524, allocations: 325.5 kB / 406.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/0.2539, allocations: 0.7768 MB / 407.6 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.254, allocations: 55.98 kB / 407.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008416/0.2624, allocations: 14.57 MB / 422.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2624, allocations: 0 / 422.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.266, allocations: 2.464 MB / 424.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009572/0.2669, allocations: 0.5114 MB / 425.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.2672, allocations: 51.98 kB / 425.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007044/0.2679, allocations: 98.45 kB / 425.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/0.2683, allocations: 181.2 kB / 425.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-05/0.2684, allocations: 55.05 kB / 425.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001205/0.2696, allocations: 1.133 MB / 426.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2696, allocations: 0 / 426.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002496/0.2721, allocations: 0.9374 MB / 427.6 MB, free: 12.38 MB / 346.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.0005555/0.2726, allocations: 268.2 kB / 427.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002841/0.2755, allocations: 2.273 MB / 430.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2755, allocations: 4 kB / 430.1 MB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.2773, allocations: 2.133 MB / 432.3 MB, free: 7.715 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.2792, allocations: 0.7548 MB / 433 MB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.2902, allocations: 7.994 MB / 441 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.2915, allocations: 1.316 MB / 442.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001199/0.2927, allocations: 372.3 kB / 442.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.294, allocations: 0.7868 MB / 443.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.623e-06/0.294, allocations: 0 / 443.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.1695/0.4634, allocations: 47.5 MB / 491 MB, free: 111.3 MB / 394.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.625995222013444]