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.00143/0.00143, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001546/0.001546, allocations: 156.9 kB / 24.26 MB, free: 172 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 1.444/1.444, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.861e-05, allocations: 2.312 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.02121/0.02124, allocations: 15.23 MB / 287.5 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1271/0.1483, allocations: 5.684 MB / 293.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.1508, allocations: 143.6 kB / 293.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.1541, allocations: 1.365 MB / 294.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005375/0.1595, allocations: 1.885 MB / 296.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.1633, allocations: 1.08 MB / 297.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008502/0.1718, allocations: 6.649 MB / 304.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003684/0.1755, allocations: 2.761 MB / 307 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006838/0.1823, allocations: 4.468 MB / 311.5 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003495/0.1858, allocations: 2.946 MB / 314.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008026/0.1866, allocations: 0.789 MB / 315.2 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.1883, allocations: 1.069 MB / 316.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.1893, allocations: 1.933 MB / 318.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002204/0.1915, allocations: 2.303 MB / 320.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.205, allocations: 10.74 MB / 331.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.205, allocations: 4 kB / 331.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.164e-06/0.205, allocations: 0 / 331.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001921/0.2052, allocations: 0 / 331.3 MB, free: 5.398 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.0163/0.2215, allocations: 6.573 MB / 337.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2216, allocations: 11.98 kB / 337.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006725/0.2283, allocations: 1.655 MB / 339.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008885/0.2372, allocations: 3.789 MB / 343.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/0.2376, allocations: 360.6 kB / 343.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/0.2388, allocations: 0.4894 MB / 344.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.2534, allocations: 7.21 MB / 351.4 MB, free: 1.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.2535, allocations: 7.984 kB / 351.4 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005418/0.254, allocations: 208 kB / 351.6 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002923/0.2543, allocations: 245.9 kB / 351.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/0.2677, allocations: 5.961 MB / 357.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04019/0.3079, allocations: 18.27 MB / 376 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009077/0.317, allocations: 4.476 MB / 380.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004485/0.3215, allocations: 2.31 MB / 382.8 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.3339, allocations: 5.629 MB / 388.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/0.334, allocations: 56.56 kB / 388.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=219): time 4.068e-06/0.334, allocations: 0 / 388.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=226): time 0.02091/0.3549, allocations: 9.047 MB / 397.5 MB, free: 3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.355, allocations: 73.41 kB / 397.6 MB, free: 2.914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/0.3595, allocations: 2.637 MB / 400.3 MB, free: 268 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002636/0.3598, allocations: 69.7 kB / 400.3 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002364/0.3621, allocations: 2.266 MB / 402.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009041/0.363, allocations: 0.7875 MB / 403.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008454/0.3639, allocations: 465.2 kB / 403.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.364, allocations: 309.1 kB / 404.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.3664, allocations: 1.286 MB / 405.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003215/0.3696, allocations: 1.949 MB / 407.4 MB, free: 8.863 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005474/0.3751, allocations: 3.34 MB / 410.7 MB, free: 5.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/0.3751, allocations: 8 kB / 410.7 MB, free: 5.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.008361/0.3835, allocations: 4.272 MB / 415 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.3835, allocations: 12 kB / 415 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/0.3835, allocations: 20 kB / 415 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/0.3867, allocations: 0.8442 MB / 415.9 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/0.3891, allocations: 0.5577 MB / 416.4 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.4023, allocations: 10.3 MB / 426.7 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.4044, allocations: 103.9 kB / 426.8 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.4046, allocations: 104 kB / 426.9 MB, free: 4.625 MB / 378.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.003011/0.4076, allocations: 1.617 MB / 428.5 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008467/0.4085, allocations: 378 kB / 428.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.122/0.5305, allocations: 3.703 MB / 432.6 MB, free: 117.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.5306, allocations: 21.69 kB / 432.6 MB, free: 117.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.5306, allocations: 10.53 kB / 432.7 MB, free: 117.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.041e-05/0.5306, allocations: 16.25 kB / 432.7 MB, free: 117.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.5445, allocations: 7.298 MB / 440 MB, free: 115 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.5445, allocations: 2.188 kB / 440 MB, free: 115 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.546, allocations: 346.5 kB / 440.3 MB, free: 115 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003632/0.5497, allocations: 1.039 MB / 441.3 MB, free: 114.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/0.5499, allocations: 60.75 kB / 441.4 MB, free: 114.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.5624, allocations: 14.87 MB / 456.3 MB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5624, allocations: 7.75 kB / 456.3 MB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007955/0.5704, allocations: 5.57 MB / 461.9 MB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.572, allocations: 0.6053 MB / 462.5 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004068/0.5724, allocations: 57.95 kB / 462.5 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.5738, allocations: 107.4 kB / 462.6 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004442/0.5742, allocations: 195.5 kB / 462.8 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.5743, allocations: 64.17 kB / 462.9 MB, free: 100.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002363/0.5767, allocations: 1.786 MB / 464.7 MB, free: 100.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5767, allocations: 0 / 464.7 MB, free: 100.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003007/0.5797, allocations: 0.9397 MB / 465.6 MB, free: 99.58 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.0006111/0.5803, allocations: 274.6 kB / 465.9 MB, free: 99.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004789/0.5851, allocations: 3.706 MB / 469.6 MB, free: 95.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5851, allocations: 0 / 469.6 MB, free: 95.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003463/0.5886, allocations: 2.571 MB / 472.1 MB, free: 93.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003487/0.5921, allocations: 0.7562 MB / 472.9 MB, free: 92.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.6048, allocations: 9.479 MB / 482.4 MB, free: 82.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/0.6072, allocations: 2.922 MB / 485.3 MB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002021/0.6092, allocations: 0.7108 MB / 486 MB, free: 79.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.6097, allocations: 184.5 kB / 486.2 MB, free: 79.08 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6097, allocations: 0 / 486.2 MB, free: 79.08 MB / 378.7 MB Notification: Performance of Templates: time 0.0618/0.6715, allocations: 43.54 MB / 0.5173 GB, free: 36.11 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.005941310082562]