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.001689/0.001689, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001929/0.001929, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.522/1.522, allocations: 225.6 MB / 250.8 MB, free: 13.39 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_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.001511/0.001511, allocations: 51.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2345, allocations: 52.15 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0206/0.2551, allocations: 16.79 MB / 437.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.2676, allocations: 5.444 MB / 443.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003127/0.2707, allocations: 103.6 kB / 443.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0039/0.2746, allocations: 1.289 MB / 444.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.2799, allocations: 1.67 MB / 446.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.2825, allocations: 1.056 MB / 447.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006385/0.2889, allocations: 5.11 MB / 452.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.2922, allocations: 2.312 MB / 454.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.2949, allocations: 2.188 MB / 456.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.2984, allocations: 2.638 MB / 459.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008317/0.2993, allocations: 0.6133 MB / 460.1 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.3008, allocations: 0.8357 MB / 460.9 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.3022, allocations: 1.429 MB / 462.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003001/0.3052, allocations: 2.637 MB / 465 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009498/0.3147, allocations: 8.113 MB / 473.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3147, allocations: 8 kB / 473.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3147, allocations: 0 / 473.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001895/0.3149, allocations: 0 / 473.1 MB, free: 10.58 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.01463/0.3295, allocations: 5.497 MB / 478.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3296, allocations: 12.03 kB / 478.6 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005398/0.335, allocations: 1.017 MB / 479.6 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006736/0.3417, allocations: 2.977 MB / 482.6 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.342, allocations: 308 kB / 482.9 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009244/0.3429, allocations: 403.9 kB / 483.3 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009846/0.3528, allocations: 5.213 MB / 488.5 MB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.194e-05/0.3529, allocations: 4 kB / 488.5 MB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003806/0.3532, allocations: 160 kB / 488.7 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/0.3534, allocations: 176 kB / 488.9 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007961/0.3614, allocations: 4.451 MB / 493.3 MB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02644/0.3878, allocations: 16.64 MB / 0.498 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007918/0.3957, allocations: 8.238 MB / 0.506 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002966/0.3987, allocations: 1.573 MB / 0.5076 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008793/0.4075, allocations: 4.956 MB / 0.5124 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.4075, allocations: 59.81 kB / 0.5125 GB, free: 4.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.767e-06/0.4075, allocations: 0 / 0.5125 GB, free: 4.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01285/0.4204, allocations: 6.192 MB / 0.5185 GB, free: 14.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.4205, allocations: 72.72 kB / 0.5186 GB, free: 14.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/0.4242, allocations: 2.282 MB / 0.5208 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.4243, allocations: 53.7 kB / 0.5209 GB, free: 12.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.426, allocations: 1.893 MB / 0.5227 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005663/0.4265, allocations: 0.5849 MB / 0.5233 GB, free: 9.664 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006412/0.4272, allocations: 395.9 kB / 0.5237 GB, free: 9.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4273, allocations: 301.1 kB / 0.524 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.4288, allocations: 0.8513 MB / 0.5248 GB, free: 8.117 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.4309, allocations: 1.555 MB / 0.5263 GB, free: 6.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/0.4346, allocations: 2.558 MB / 0.5288 GB, free: 3.359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.4346, allocations: 11.94 kB / 0.5288 GB, free: 3.348 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005186/0.4398, allocations: 2.897 MB / 0.5316 GB, free: 428 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.4398, allocations: 12 kB / 0.5317 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/0.4399, allocations: 27.94 kB / 0.5317 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003347/0.4402, allocations: 121.7 kB / 0.5318 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.4423, allocations: 0.5344 MB / 0.5323 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.4443, allocations: 1.994 MB / 0.5343 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.4461, allocations: 112 kB / 0.5344 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.4463, allocations: 95.98 kB / 0.5345 GB, free: 13.39 MB / 462.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.002198/0.4485, allocations: 1.2 MB / 0.5356 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005124/0.449, allocations: 262.3 kB / 0.5359 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/0.4535, allocations: 2.433 MB / 0.5383 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.4535, allocations: 16 kB / 0.5383 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.4535, allocations: 4 kB / 0.5383 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.4535, allocations: 11.91 kB / 0.5383 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00964/0.4632, allocations: 5.76 MB / 0.5439 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.4632, allocations: 0 / 0.5439 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.4645, allocations: 287.6 kB / 0.5442 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008532/0.4653, allocations: 318.4 kB / 0.5445 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.4654, allocations: 43.92 kB / 0.5445 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2124/0.6778, allocations: 6.961 MB / 0.5513 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6778, allocations: 4.375 kB / 0.5513 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00521/0.683, allocations: 3.565 MB / 0.5548 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009738/0.684, allocations: 0.5057 MB / 0.5553 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/0.6843, allocations: 29.39 kB / 0.5553 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6854, allocations: 84.61 kB / 0.5554 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/0.6857, allocations: 124.1 kB / 0.5555 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.321e-05/0.6858, allocations: 44.36 kB / 0.5556 GB, free: 114.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001993/0.6878, allocations: 1.549 MB / 0.5571 GB, free: 113.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6878, allocations: 0 / 0.5571 GB, free: 113.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001809/0.6896, allocations: 0.6695 MB / 0.5578 GB, free: 113.6 MB / 462.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.0002684/0.6899, allocations: 177.6 kB / 0.5579 GB, free: 113.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.6927, allocations: 2.185 MB / 0.5601 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6927, allocations: 0 / 0.5601 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.6944, allocations: 1.363 MB / 0.5614 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.6964, allocations: 0.5991 MB / 0.562 GB, free: 111.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00878/0.7052, allocations: 7.029 MB / 0.5688 GB, free: 108.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/0.7068, allocations: 2.664 MB / 0.5714 GB, free: 106.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001481/0.7083, allocations: 0.5569 MB / 0.572 GB, free: 106 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/0.7087, allocations: 166.2 kB / 0.5721 GB, free: 105.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.7087, allocations: 0 / 0.5721 GB, free: 105.9 MB / 462.1 MB Notification: Performance of Templates: time 0.04833/0.757, allocations: 31.86 MB / 0.6033 GB, free: 74.92 MB / 462.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 -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/jenkins/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/jenkins/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: 6.493880388326943]