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_DOL.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.001275/0.001275, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001335/0.001335, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.421/1.421, allocations: 173.4 MB / 201.1 MB, free: 12.73 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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 47.42 kB / 319.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.09031, allocations: 52.17 MB / 371.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01829/0.1086, allocations: 14.5 MB / 386.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.1192, allocations: 5.145 MB / 391.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.1216, allocations: 123.2 kB / 391.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.1252, allocations: 1.239 MB / 392.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.1309, allocations: 1.643 MB / 394.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.1339, allocations: 1.02 MB / 395.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007858/0.1418, allocations: 5.136 MB / 400.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004075/0.1458, allocations: 2.215 MB / 402.6 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.1493, allocations: 2.243 MB / 404.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004472/0.1537, allocations: 2.474 MB / 407.3 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.155, allocations: 0.6094 MB / 407.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.1571, allocations: 0.8123 MB / 408.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.1587, allocations: 1.437 MB / 410.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003095/0.1618, allocations: 2.097 MB / 412.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009915/0.1717, allocations: 8.152 MB / 420.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1717, allocations: 0 / 420.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1717, allocations: 0 / 420.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001677/0.1719, allocations: 0 / 420.4 MB, free: 6.25 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01356/0.1854, allocations: 5.414 MB / 425.9 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1855, allocations: 12.92 kB / 425.9 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/0.1907, allocations: 1.013 MB / 426.9 MB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006404/0.1971, allocations: 2.901 MB / 429.8 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/0.1974, allocations: 312.2 kB / 430.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006943/0.1981, allocations: 399.9 kB / 430.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.2087, allocations: 5.364 MB / 435.8 MB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.201e-05/0.2088, allocations: 7.891 kB / 435.9 MB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003961/0.2092, allocations: 164 kB / 436 MB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/0.2094, allocations: 172 kB / 436.2 MB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009217/0.2186, allocations: 4.455 MB / 440.6 MB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02627/0.2448, allocations: 14.32 MB / 455 MB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005911/0.2508, allocations: 3.175 MB / 458.1 MB, free: 52 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/0.2537, allocations: 1.559 MB / 459.7 MB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007884/0.2616, allocations: 3.875 MB / 463.6 MB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.2617, allocations: 47.88 kB / 463.6 MB, free: 10.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.637e-06/0.2617, allocations: 0 / 463.6 MB, free: 10.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01204/0.2737, allocations: 5.705 MB / 469.3 MB, free: 4.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.2738, allocations: 72.72 kB / 469.4 MB, free: 4.699 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/0.2768, allocations: 2.088 MB / 471.5 MB, free: 2.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.2769, allocations: 49.7 kB / 471.5 MB, free: 2.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.2784, allocations: 1.911 MB / 473.4 MB, free: 0.5898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/0.2788, allocations: 0.5772 MB / 474 MB, free: 8 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1581/0.4369, allocations: 392.7 kB / 474.4 MB, free: 87.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.353e-05/0.437, allocations: 301.7 kB / 474.7 MB, free: 87.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.4383, allocations: 0.8459 MB / 475.5 MB, free: 87.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.4399, allocations: 1.586 MB / 477.1 MB, free: 86.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/0.4429, allocations: 2.554 MB / 479.7 MB, free: 85.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.4429, allocations: 8.031 kB / 479.7 MB, free: 85.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004557/0.4474, allocations: 2.8 MB / 482.5 MB, free: 84.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.4475, allocations: 15.06 kB / 482.5 MB, free: 84.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.4475, allocations: 28.62 kB / 482.5 MB, free: 84.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.4478, allocations: 124.3 kB / 482.7 MB, free: 84.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/0.4497, allocations: 0.5357 MB / 483.2 MB, free: 84.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.451, allocations: 1.853 MB / 485 MB, free: 82.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.4526, allocations: 110.9 kB / 485.1 MB, free: 82.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.4528, allocations: 100.5 kB / 485.2 MB, free: 82.51 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001767/0.4546, allocations: 1.195 MB / 486.4 MB, free: 81.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.4549, allocations: 235.8 kB / 486.7 MB, free: 81.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/0.4587, allocations: 2.269 MB / 488.9 MB, free: 80.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.4588, allocations: 15.69 kB / 489 MB, free: 80.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4588, allocations: 8.641 kB / 489 MB, free: 80.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.4588, allocations: 10.59 kB / 489 MB, free: 80.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/0.4655, allocations: 4.762 MB / 493.7 MB, free: 78.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.4655, allocations: 1.859 kB / 493.7 MB, free: 78.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.4667, allocations: 291.6 kB / 494 MB, free: 78.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006661/0.4673, allocations: 309.4 kB / 494.3 MB, free: 78.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-05/0.4674, allocations: 42.2 kB / 494.4 MB, free: 78.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004542/0.472, allocations: 6.513 MB / 0.4891 GB, free: 73.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.472, allocations: 4.031 kB / 0.4891 GB, free: 73.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004348/0.4763, allocations: 3.385 MB / 0.4925 GB, free: 70.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008559/0.4772, allocations: 424.4 kB / 0.4929 GB, free: 70.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/0.4774, allocations: 28 kB / 0.4929 GB, free: 70.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.4784, allocations: 82.23 kB / 0.493 GB, free: 70.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.4786, allocations: 122.8 kB / 0.4931 GB, free: 70.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-05/0.4787, allocations: 54.58 kB / 0.4931 GB, free: 70 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.4802, allocations: 1.379 MB / 0.4945 GB, free: 68.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4802, allocations: 0 / 0.4945 GB, free: 68.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001815/0.4821, allocations: 0.6641 MB / 0.4951 GB, free: 68.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002438/0.4823, allocations: 176.3 kB / 0.4953 GB, free: 67.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.4852, allocations: 2.104 MB / 0.4973 GB, free: 65.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4852, allocations: 0 / 0.4973 GB, free: 65.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.4868, allocations: 1.376 MB / 0.4987 GB, free: 64.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.4886, allocations: 0.4961 MB / 0.4992 GB, free: 64.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/0.4972, allocations: 6.977 MB / 0.506 GB, free: 57.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/0.4989, allocations: 2.121 MB / 0.5081 GB, free: 54.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001476/0.5004, allocations: 0.5339 MB / 0.5086 GB, free: 54.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.5008, allocations: 156.5 kB / 0.5087 GB, free: 54.26 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5008, allocations: 0 / 0.5087 GB, free: 54.26 MB / 430.1 MB Notification: Performance of Templates: time 0.04184/0.5426, allocations: 29.3 MB / 0.5373 GB, free: 25.41 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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: 5.83560855302494]