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.002137/0.002137, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002589/0.002589, allocations: 187.3 kB / 24.45 MB, free: 3.961 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.547/1.547, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.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.00164/0.00164, allocations: 51.91 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2474, allocations: 52.18 MB / 423.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02588/0.2733, allocations: 20.79 MB / 444.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.2882, allocations: 6.84 MB / 451.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004203/0.2925, allocations: 175 kB / 451.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005258/0.2977, allocations: 1.564 MB / 453.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008569/0.3063, allocations: 2.365 MB / 455.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004502/0.3108, allocations: 1.431 MB / 457 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.3215, allocations: 7.207 MB / 464.2 MB, free: 5.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005387/0.3269, allocations: 3.017 MB / 467.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005592/0.3325, allocations: 3.283 MB / 470.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006899/0.3394, allocations: 3.607 MB / 474.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002535/0.3419, allocations: 0.8711 MB / 475 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/0.346, allocations: 1.269 MB / 476.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002873/0.3488, allocations: 2.142 MB / 478.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006032/0.3549, allocations: 3.022 MB / 481.4 MB, free: 4.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.3705, allocations: 11.55 MB / 493 MB, free: 9.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3705, allocations: 4 kB / 493 MB, free: 9 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3705, allocations: 0 / 493 MB, free: 9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003752/0.3708, allocations: 4 kB / 493 MB, free: 8.996 MB / 398.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.02141/0.3922, allocations: 7.5 MB / 0.4888 GB, free: 1.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3923, allocations: 8.031 kB / 0.4888 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006452/0.3987, allocations: 1.254 MB / 0.49 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009834/0.4086, allocations: 4.049 MB / 0.4939 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004413/0.409, allocations: 431.8 kB / 0.4944 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001718/0.4107, allocations: 0.5587 MB / 0.4949 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.4271, allocations: 7.564 MB / 0.5023 GB, free: 3.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.4272, allocations: 15.94 kB / 0.5023 GB, free: 3.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007184/0.428, allocations: 232 kB / 0.5025 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003041/0.4283, allocations: 263.3 kB / 0.5028 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.4418, allocations: 6.111 MB / 0.5087 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04115/0.4829, allocations: 20.27 MB / 0.5285 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/0.4899, allocations: 3.855 MB / 0.5323 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00388/0.4938, allocations: 2.168 MB / 0.5344 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.234/0.7278, allocations: 5.555 MB / 0.5399 GB, free: 102.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.7278, allocations: 62.7 kB / 0.5399 GB, free: 102.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 6.442e-06/0.7278, allocations: 3.609 kB / 0.5399 GB, free: 102.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.02958/0.7574, allocations: 13.03 MB / 0.5526 GB, free: 98.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.7574, allocations: 85.36 kB / 0.5527 GB, free: 97.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.7615, allocations: 3.053 MB / 0.5557 GB, free: 95.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003303/0.7618, allocations: 73.3 kB / 0.5558 GB, free: 95.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.7631, allocations: 2.765 MB / 0.5585 GB, free: 93.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007279/0.7639, allocations: 1.013 MB / 0.5595 GB, free: 92.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008022/0.7647, allocations: 0.6375 MB / 0.5601 GB, free: 91.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.408e-05/0.7647, allocations: 301.1 kB / 0.5604 GB, free: 91.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.7668, allocations: 1.552 MB / 0.5619 GB, free: 89.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.7693, allocations: 2.781 MB / 0.5646 GB, free: 86.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/0.774, allocations: 4.594 MB / 0.5691 GB, free: 81.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/0.7741, allocations: 12 kB / 0.5691 GB, free: 81.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007986/0.7821, allocations: 5.284 MB / 0.5743 GB, free: 75.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.7821, allocations: 20 kB / 0.5743 GB, free: 75.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.949e-05/0.7822, allocations: 40 kB / 0.5743 GB, free: 75.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.7835, allocations: 0.6639 MB / 0.575 GB, free: 75.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.7863, allocations: 0.858 MB / 0.5758 GB, free: 74.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007459/0.7937, allocations: 9.74 MB / 0.5853 GB, free: 64.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/0.7972, allocations: 227.8 kB / 0.5855 GB, free: 63.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004406/0.7976, allocations: 168 kB / 0.5857 GB, free: 63.75 MB / 446.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.002772/0.8004, allocations: 1.617 MB / 0.5873 GB, free: 62.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008407/0.8013, allocations: 369.6 kB / 0.5876 GB, free: 61.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006414/0.8077, allocations: 4.23 MB / 0.5918 GB, free: 57.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/0.8077, allocations: 28 kB / 0.5918 GB, free: 57.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.8077, allocations: 8.125 kB / 0.5918 GB, free: 57.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.8077, allocations: 19.94 kB / 0.5918 GB, free: 57.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.821, allocations: 8.326 MB / 0.5999 GB, free: 48.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.821, allocations: 8 kB / 0.5999 GB, free: 48.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/0.823, allocations: 0.4975 MB / 0.6004 GB, free: 48.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.8246, allocations: 0.723 MB / 0.6011 GB, free: 47.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/0.8248, allocations: 71.81 kB / 0.6012 GB, free: 47.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009744/0.8345, allocations: 13.24 MB / 0.6141 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8345, allocations: 4 kB / 0.6141 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009119/0.8437, allocations: 6.323 MB / 0.6203 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/0.8457, allocations: 0.6655 MB / 0.621 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005918/0.8463, allocations: 67.88 kB / 0.621 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/0.8482, allocations: 163.8 kB / 0.6212 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/0.8486, allocations: 217.5 kB / 0.6214 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.8487, allocations: 83.97 kB / 0.6215 GB, free: 26.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002514/0.8513, allocations: 1.979 MB / 0.6234 GB, free: 24.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8513, allocations: 0 / 0.6234 GB, free: 24.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003778/0.855, allocations: 1.093 MB / 0.6245 GB, free: 23.05 MB / 446.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.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.0005533/0.8556, allocations: 278.3 kB / 0.6247 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006201/0.8618, allocations: 4.365 MB / 0.629 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.8618, allocations: 4.125 kB / 0.629 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003685/0.8655, allocations: 2.707 MB / 0.6317 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/0.8691, allocations: 0.7272 MB / 0.6324 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/0.886, allocations: 10.59 MB / 0.6427 GB, free: 4.109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002576/0.8886, allocations: 2.917 MB / 0.6456 GB, free: 1.152 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/0.8899, allocations: 275.3 kB / 0.6458 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of SimCode: time 1.183e-06/0.8899, allocations: 0 / 0.6458 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of Templates: time 0.4715/1.361, allocations: 239.2 MB / 0.8794 GB, free: 57.14 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/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/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: 19.72356753004715]