Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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.001537/0.001537, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.001564/0.001564, allocations: 214.8 kB / 24.48 MB, free: 3.836 MB / 14.72 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.514/1.514, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.89 kB / 379 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3042, allocations: 53.4 MB / 432.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01971/0.3239, allocations: 15.05 MB / 447.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.3357, allocations: 5.4 MB / 452.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.3387, allocations: 127.2 kB / 453 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003979/0.3427, allocations: 1.254 MB / 454.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005963/0.3487, allocations: 1.623 MB / 455.9 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.3519, allocations: 1.086 MB / 457 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007515/0.3594, allocations: 5.223 MB / 462.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003624/0.363, allocations: 2.219 MB / 464.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.3663, allocations: 2.258 MB / 466.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004501/0.3708, allocations: 2.502 MB / 469.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.3723, allocations: 0.6171 MB / 469.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.3744, allocations: 0.8396 MB / 470.6 MB, free: 140 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.3758, allocations: 1.429 MB / 472 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003029/0.3789, allocations: 2.104 MB / 474.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009892/0.3888, allocations: 8.195 MB / 482.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3888, allocations: 0 / 482.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3888, allocations: 0 / 482.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001958/0.389, allocations: 0 / 482.3 MB, free: 4.367 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.01465/0.4036, allocations: 5.461 MB / 487.8 MB, free: 14.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.4037, allocations: 11.98 kB / 487.8 MB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005695/0.4094, allocations: 1.025 MB / 488.8 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007278/0.4166, allocations: 2.937 MB / 491.8 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/0.417, allocations: 304.2 kB / 492.1 MB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/0.4182, allocations: 399.9 kB / 492.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/0.4304, allocations: 5.371 MB / 497.8 MB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/0.4305, allocations: 7.953 kB / 497.8 MB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009248/0.4315, allocations: 164 kB / 498 MB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002101/0.4317, allocations: 176 kB / 498.2 MB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.4425, allocations: 4.455 MB / 0.4908 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.4772, allocations: 14.35 MB / 0.5049 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006502/0.4837, allocations: 3.24 MB / 0.508 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004376/0.4881, allocations: 1.983 MB / 0.51 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009741/0.4978, allocations: 4.158 MB / 0.514 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/0.4979, allocations: 47.88 kB / 0.5141 GB, free: 7.754 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 4.309e-06/0.4979, allocations: 0 / 0.5141 GB, free: 7.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01347/0.5113, allocations: 5.87 MB / 0.5198 GB, free: 1.844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.5114, allocations: 72.66 kB / 0.5199 GB, free: 1.762 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004063/0.5155, allocations: 2.121 MB / 0.5219 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.5156, allocations: 49.7 kB / 0.522 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.5172, allocations: 1.927 MB / 0.5239 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006377/0.5179, allocations: 0.5733 MB / 0.5244 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007539/0.5186, allocations: 399.9 kB / 0.5248 GB, free: 12.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5188, allocations: 309 kB / 0.5251 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.5204, allocations: 0.8553 MB / 0.5259 GB, free: 11.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.5227, allocations: 1.596 MB / 0.5275 GB, free: 9.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004013/0.5267, allocations: 2.586 MB / 0.53 GB, free: 6.629 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/0.5267, allocations: 15.88 kB / 0.53 GB, free: 6.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005591/0.5323, allocations: 2.884 MB / 0.5329 GB, free: 3.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.5324, allocations: 19.94 kB / 0.5329 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/0.5324, allocations: 20 kB / 0.5329 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/0.5329, allocations: 182.1 kB / 0.5331 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/0.535, allocations: 0.5343 MB / 0.5336 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.5377, allocations: 2.284 MB / 0.5358 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.5396, allocations: 112 kB / 0.5359 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.5398, allocations: 99.98 kB / 0.536 GB, free: 364 kB / 446.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 (266): * Single equations (assignments): 264 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2264/0.7662, allocations: 1.193 MB / 0.5372 GB, free: 99.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008739/0.7671, allocations: 242.1 kB / 0.5374 GB, free: 99.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/0.772, allocations: 2.345 MB / 0.5397 GB, free: 98.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.772, allocations: 16.27 kB / 0.5397 GB, free: 98.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.7721, allocations: 8.781 kB / 0.5397 GB, free: 98.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.7721, allocations: 9.438 kB / 0.5397 GB, free: 98.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.7832, allocations: 4.889 MB / 0.5445 GB, free: 96.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.7833, allocations: 0 / 0.5445 GB, free: 96.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.7845, allocations: 281.7 kB / 0.5448 GB, free: 96.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009387/0.7854, allocations: 363.3 kB / 0.5451 GB, free: 96.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.7856, allocations: 40.83 kB / 0.5452 GB, free: 96.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006192/0.7917, allocations: 6.934 MB / 0.5519 GB, free: 90.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7918, allocations: 0 / 0.5519 GB, free: 90.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005696/0.7974, allocations: 3.489 MB / 0.5553 GB, free: 89.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.7989, allocations: 424.2 kB / 0.5557 GB, free: 89.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000629/0.7995, allocations: 36.88 kB / 0.5558 GB, free: 89.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.8009, allocations: 81.44 kB / 0.5559 GB, free: 89.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/0.8012, allocations: 122.6 kB / 0.556 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.8013, allocations: 46.83 kB / 0.556 GB, free: 89.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002697/0.804, allocations: 1.394 MB / 0.5574 GB, free: 88.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.804, allocations: 0 / 0.5574 GB, free: 88.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002962/0.807, allocations: 0.6789 MB / 0.558 GB, free: 87.38 MB / 446.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 (129): * Single equations (assignments): 126 * 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,8,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.0003942/0.8074, allocations: 176.8 kB / 0.5582 GB, free: 87.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003529/0.8109, allocations: 2.152 MB / 0.5603 GB, free: 85.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8109, allocations: 0 / 0.5603 GB, free: 85.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.8129, allocations: 1.411 MB / 0.5617 GB, free: 84.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/0.8159, allocations: 0.5109 MB / 0.5622 GB, free: 83.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.8285, allocations: 7.018 MB / 0.569 GB, free: 76.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/0.8311, allocations: 2.068 MB / 0.5711 GB, free: 74.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008521/0.832, allocations: 183.4 kB / 0.5712 GB, free: 74.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.372e-06/0.832, allocations: 5.312 kB / 0.5712 GB, free: 74.55 MB / 446.1 MB Notification: Performance of Templates: time 0.09865/0.9306, allocations: 96.62 MB / 0.6656 GB, free: 10.02 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.85994853777811]