Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 123.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 188.3 kB / 21.39 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 47.92 kB / 366.8 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1022, allocations: 52.15 MB / 419 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02815/0.1304, allocations: 24.22 MB / 443.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2346/0.365, allocations: 7.123 MB / 450.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004921/0.37, allocations: 144 kB / 450.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005313/0.3753, allocations: 1.624 MB / 452.1 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008742/0.384, allocations: 2.383 MB / 454.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004753/0.3888, allocations: 1.442 MB / 455.9 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01236/0.4011, allocations: 7.195 MB / 463.1 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006877/0.408, allocations: 3.864 MB / 467 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006747/0.4147, allocations: 3.209 MB / 470.2 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007684/0.4224, allocations: 3.891 MB / 474.1 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003381/0.4258, allocations: 0.8741 MB / 475 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/0.4313, allocations: 1.325 MB / 476.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003482/0.4348, allocations: 2.152 MB / 478.4 MB, free: 496 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008645/0.4434, allocations: 3.773 MB / 482.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.4607, allocations: 11.52 MB / 493.7 MB, free: 5.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4607, allocations: 0 / 493.7 MB, free: 5.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4607, allocations: 0 / 493.7 MB, free: 5.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003583/0.461, allocations: 0 / 493.7 MB, free: 5.504 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.02372/0.4847, allocations: 7.586 MB / 0.4896 GB, free: 14.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4848, allocations: 8.031 kB / 0.4896 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007076/0.4919, allocations: 1.26 MB / 0.4908 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.5022, allocations: 4.151 MB / 0.4949 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004847/0.5026, allocations: 427.6 kB / 0.4953 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/0.5045, allocations: 0.5583 MB / 0.4958 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.522, allocations: 7.283 MB / 0.5029 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001479/0.5222, allocations: 11.89 kB / 0.5029 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006598/0.5228, allocations: 237.9 kB / 0.5032 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002985/0.5231, allocations: 259.3 kB / 0.5034 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.5362, allocations: 6.127 MB / 0.5094 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04715/0.5834, allocations: 23.47 MB / 0.5323 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009775/0.5931, allocations: 8.475 MB / 0.5406 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004435/0.5976, allocations: 2.176 MB / 0.5427 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01417/0.6117, allocations: 6.934 MB / 0.5495 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.6118, allocations: 56.56 kB / 0.5495 GB, free: 15.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.369e-06/0.6118, allocations: 0 / 0.5495 GB, free: 15.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=282): time 0.0354/0.6472, allocations: 13.77 MB / 0.563 GB, free: 1.668 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.6473, allocations: 81.59 kB / 0.5631 GB, free: 1.574 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/0.6527, allocations: 3.423 MB / 0.5664 GB, free: 14.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003409/0.653, allocations: 76.28 kB / 0.5665 GB, free: 14.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002147/0.6552, allocations: 2.756 MB / 0.5692 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009859/0.6561, allocations: 1.01 MB / 0.5702 GB, free: 10.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.6572, allocations: 0.6394 MB / 0.5708 GB, free: 9.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6573, allocations: 309.1 kB / 0.5711 GB, free: 9.375 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/0.66, allocations: 1.549 MB / 0.5726 GB, free: 7.824 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003682/0.6637, allocations: 2.747 MB / 0.5753 GB, free: 4.547 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006855/0.6706, allocations: 4.607 MB / 0.5798 GB, free: 15.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/0.6706, allocations: 12 kB / 0.5798 GB, free: 15.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01004/0.6806, allocations: 5.469 MB / 0.5851 GB, free: 9.789 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.6807, allocations: 24 kB / 0.5851 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.296e-05/0.6807, allocations: 36 kB / 0.5852 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.6824, allocations: 0.6758 MB / 0.5858 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/0.6856, allocations: 0.8502 MB / 0.5867 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.6968, allocations: 10.34 MB / 0.5968 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/0.7003, allocations: 223.8 kB / 0.597 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004084/0.7007, allocations: 168 kB / 0.5971 GB, free: 12.93 MB / 0.4981 GB 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.003138/0.7039, allocations: 1.624 MB / 0.5987 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009239/0.7048, allocations: 409.5 kB / 0.5991 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008462/0.7132, allocations: 4.479 MB / 0.6035 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.947e-05/0.7133, allocations: 32 kB / 0.6035 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.7133, allocations: 8 kB / 0.6035 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-05/0.7133, allocations: 11.95 kB / 0.6035 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.7309, allocations: 9.879 MB / 0.6132 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.731, allocations: 4 kB / 0.6132 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/0.7331, allocations: 0.4997 MB / 0.6137 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.7351, allocations: 0.723 MB / 0.6144 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.7353, allocations: 82.97 kB / 0.6145 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.7499, allocations: 14.12 MB / 0.6283 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.7499, allocations: 4 kB / 0.6283 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.7613, allocations: 6.599 MB / 0.6347 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/0.7633, allocations: 0.7874 MB / 0.6355 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005541/0.7638, allocations: 64.06 kB / 0.6355 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/0.7658, allocations: 171.8 kB / 0.6357 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004908/0.7663, allocations: 209.7 kB / 0.6359 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.7664, allocations: 83.97 kB / 0.636 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00358/0.77, allocations: 2.302 MB / 0.6382 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.77, allocations: 0 / 0.6382 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003841/0.7739, allocations: 1.1 MB / 0.6393 GB, free: 356 kB / 0.5294 GB 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.stray.Phi.re,smeeM.stator.stray.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.0006206/0.7745, allocations: 286.8 kB / 0.6396 GB, free: 64 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2135/0.988, allocations: 4.505 MB / 0.644 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.988, allocations: 2.031 kB / 0.644 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005138/0.9931, allocations: 2.713 MB / 0.6466 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/0.998, allocations: 0.8953 MB / 0.6475 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/1.018, allocations: 10.61 MB / 0.6579 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004447/1.023, allocations: 3.418 MB / 0.6612 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/1.024, allocations: 292.2 kB / 0.6615 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of SimCode: time 2.164e-06/1.024, allocations: 0.875 kB / 0.6615 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.4181/1.443, allocations: 240.3 MB / 0.8961 GB, free: 139.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 21.413990629836917]