Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003181/0.003181, allocations: 59.92 kB / 348.5 MB, free: 9.695 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4552, allocations: 49.16 MB / 397.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.03091/0.4861, allocations: 24.19 MB / 421.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02062/0.5067, allocations: 7.157 MB / 429 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007762/0.5145, allocations: 157.9 kB / 429.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007334/0.5218, allocations: 1.626 MB / 430.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01292/0.5348, allocations: 2.329 MB / 433.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006471/0.5412, allocations: 1.514 MB / 434.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01501/0.5562, allocations: 7.215 MB / 441.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009828/0.5661, allocations: 3.115 MB / 444.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008665/0.5747, allocations: 3.275 MB / 448.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008868/0.5836, allocations: 3.888 MB / 452.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003716/0.5873, allocations: 0.875 MB / 453 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006273/0.5936, allocations: 1.386 MB / 454.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005388/0.599, allocations: 2.15 MB / 456.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01235/0.6113, allocations: 3.78 MB / 460.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02553/0.6369, allocations: 11.5 MB / 471.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.6369, allocations: 4 kB / 471.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6369, allocations: 0 / 471.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004766/0.6374, allocations: 0 / 471.8 MB, free: 8.945 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02801/0.6654, allocations: 7.508 MB / 479.3 MB, free: 1.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.6654, allocations: 11.98 kB / 479.3 MB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008564/0.674, allocations: 1.265 MB / 480.6 MB, free: 84 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01448/0.6885, allocations: 3.85 MB / 484.4 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006417/0.6891, allocations: 431.8 kB / 484.9 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002799/0.6919, allocations: 0.5547 MB / 485.4 MB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/0.7164, allocations: 7.272 MB / 492.7 MB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003215/0.7167, allocations: 11.95 kB / 492.7 MB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002062/0.7188, allocations: 236 kB / 492.9 MB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003967/0.7192, allocations: 263.3 kB / 493.2 MB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.7359, allocations: 6.099 MB / 499.3 MB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05476/0.7907, allocations: 23.09 MB / 0.5101 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008377/0.7991, allocations: 3.9 MB / 0.5139 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004605/0.8037, allocations: 2.172 MB / 0.5161 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/0.8192, allocations: 6.209 MB / 0.5221 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.945e-05/0.8193, allocations: 64.56 kB / 0.5222 GB, free: 9.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 7.263e-06/0.8193, allocations: 4 kB / 0.5222 GB, free: 9.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.0372/0.8565, allocations: 13.1 MB / 0.535 GB, free: 12.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/0.8566, allocations: 93.52 kB / 0.5351 GB, free: 12.05 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007909/0.8645, allocations: 3.424 MB / 0.5384 GB, free: 8.637 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005936/0.8651, allocations: 69.7 kB / 0.5385 GB, free: 8.562 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002791/0.8679, allocations: 2.757 MB / 0.5412 GB, free: 5.781 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001566/0.8695, allocations: 1.015 MB / 0.5422 GB, free: 4.758 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/0.8715, allocations: 0.6375 MB / 0.5428 GB, free: 4.113 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.8716, allocations: 305.1 kB / 0.5431 GB, free: 3.812 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/0.875, allocations: 1.541 MB / 0.5446 GB, free: 2.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004593/0.8796, allocations: 2.763 MB / 0.5473 GB, free: 14.97 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009206/0.8888, allocations: 4.602 MB / 0.5518 GB, free: 9.797 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.569e-05/0.8889, allocations: 16 kB / 0.5518 GB, free: 9.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01368/0.9026, allocations: 5.315 MB / 0.557 GB, free: 4.402 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.9027, allocations: 28.05 kB / 0.557 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.409e-05/0.9028, allocations: 40 kB / 0.557 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.9047, allocations: 0.6646 MB / 0.5577 GB, free: 3.652 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003837/0.9085, allocations: 0.8619 MB / 0.5585 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2427/1.151, allocations: 9.93 MB / 0.5682 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/1.156, allocations: 224.3 kB / 0.5684 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008953/1.157, allocations: 170 kB / 0.5686 GB, free: 136.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 420 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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,12,100.0%), (1,3,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00507/1.162, allocations: 1.627 MB / 0.5702 GB, free: 135.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/1.164, allocations: 404.8 kB / 0.5706 GB, free: 135.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008468/1.172, allocations: 4.252 MB / 0.5747 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-05/1.172, allocations: 33.39 kB / 0.5748 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.172, allocations: 11.5 kB / 0.5748 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/1.172, allocations: 13.55 kB / 0.5748 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/1.189, allocations: 9.627 MB / 0.5842 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/1.189, allocations: 6.656 kB / 0.5842 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/1.191, allocations: 0.5094 MB / 0.5847 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/1.193, allocations: 0.7254 MB / 0.5854 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002278/1.193, allocations: 70.69 kB / 0.5855 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009969/1.203, allocations: 13.51 MB / 0.5987 GB, free: 118.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.203, allocations: 8.812 kB / 0.5987 GB, free: 118.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009376/1.212, allocations: 6.371 MB / 0.6049 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/1.215, allocations: 0.7179 MB / 0.6056 GB, free: 115.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008022/1.215, allocations: 63.98 kB / 0.6057 GB, free: 115.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.218, allocations: 165 kB / 0.6058 GB, free: 115 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004405/1.218, allocations: 213.6 kB / 0.606 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/1.218, allocations: 83.81 kB / 0.6061 GB, free: 114.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003303/1.221, allocations: 2.31 MB / 0.6084 GB, free: 112.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/1.221, allocations: 0 / 0.6084 GB, free: 112.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005309/1.227, allocations: 1.094 MB / 0.6094 GB, free: 111.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 228 * Array equations: 4 * 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 {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009108/1.228, allocations: 280.8 kB / 0.6097 GB, free: 111 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006921/1.235, allocations: 4.364 MB / 0.614 GB, free: 106.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.235, allocations: 4 kB / 0.614 GB, free: 106.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004148/1.239, allocations: 2.682 MB / 0.6166 GB, free: 103.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004567/1.243, allocations: 0.9114 MB / 0.6175 GB, free: 102.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/1.261, allocations: 10.66 MB / 0.6279 GB, free: 92.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/1.263, allocations: 3.413 MB / 0.6312 GB, free: 88.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.264, allocations: 299.3 kB / 0.6315 GB, free: 88.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/1.264, allocations: 0 / 0.6315 GB, free: 88.43 MB / 478.1 MB Notification: Performance of Templates: time 0.4383/1.703, allocations: 240.3 MB / 0.8662 GB, free: 65.2 MB / 0.4981 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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: 22.385913484962657]