Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 107 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 43.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2103, allocations: 53.37 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01929/0.2296, allocations: 15.05 MB / 447.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.2398, allocations: 5.398 MB / 452.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.242, allocations: 127.2 kB / 452.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.2449, allocations: 1.254 MB / 454.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.2487, allocations: 1.637 MB / 455.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.2509, allocations: 1.067 MB / 456.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005542/0.2564, allocations: 5.233 MB / 462.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/0.2596, allocations: 2.317 MB / 464.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.2619, allocations: 2.255 MB / 466.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.265, allocations: 2.67 MB / 469.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007924/0.2658, allocations: 0.6171 MB / 470 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.2672, allocations: 0.8474 MB / 470.8 MB, free: 32 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.2685, allocations: 1.433 MB / 472.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002177/0.2707, allocations: 2.104 MB / 474.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007972/0.2787, allocations: 8.191 MB / 482.5 MB, free: 4.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2787, allocations: 3.984 kB / 482.6 MB, free: 4.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2787, allocations: 0 / 482.6 MB, free: 4.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.453e-05/0.2787, allocations: 0 / 482.6 MB, free: 4.258 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.01195/0.2907, allocations: 5.461 MB / 488 MB, free: 14.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2907, allocations: 8.031 kB / 488 MB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/0.2963, allocations: 1.025 MB / 489 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005986/0.3023, allocations: 2.937 MB / 492 MB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.3026, allocations: 308.2 kB / 492.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006323/0.3032, allocations: 396 kB / 492.7 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008949/0.3122, allocations: 5.371 MB / 498 MB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.949e-05/0.3123, allocations: 11.94 kB / 498.1 MB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003945/0.3126, allocations: 164 kB / 498.2 MB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/0.3128, allocations: 172 kB / 498.4 MB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007839/0.3207, allocations: 4.455 MB / 0.4911 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.344, allocations: 14.35 MB / 0.5051 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005842/0.3498, allocations: 3.233 MB / 0.5082 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004076/0.3539, allocations: 1.983 MB / 0.5102 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008263/0.3621, allocations: 4.162 MB / 0.5142 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.3622, allocations: 51.88 kB / 0.5143 GB, free: 7.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.387e-06/0.3622, allocations: 0 / 0.5143 GB, free: 7.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01193/0.3741, allocations: 5.881 MB / 0.52 GB, free: 1.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.3742, allocations: 68.72 kB / 0.5201 GB, free: 1.645 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.377, allocations: 2.113 MB / 0.5221 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.3771, allocations: 53.7 kB / 0.5222 GB, free: 15.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.3786, allocations: 1.923 MB / 0.5241 GB, free: 13.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004981/0.3791, allocations: 0.5772 MB / 0.5246 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006352/0.3797, allocations: 395.9 kB / 0.525 GB, free: 12.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3798, allocations: 309.1 kB / 0.5253 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.3814, allocations: 0.867 MB / 0.5262 GB, free: 11.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.3836, allocations: 1.588 MB / 0.5277 GB, free: 9.422 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.3874, allocations: 2.586 MB / 0.5302 GB, free: 6.516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.3875, allocations: 8 kB / 0.5302 GB, free: 6.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004955/0.3924, allocations: 2.884 MB / 0.5331 GB, free: 3.609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.3924, allocations: 20.47 kB / 0.5331 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.3925, allocations: 31.94 kB / 0.5331 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004575/0.3929, allocations: 173.6 kB / 0.5333 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.395, allocations: 0.5304 MB / 0.5338 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.3977, allocations: 2.28 MB / 0.536 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.399, allocations: 115.9 kB / 0.5361 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.3992, allocations: 99.98 kB / 0.5362 GB, free: 256 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.1686/0.5677, allocations: 1.192 MB / 0.5374 GB, free: 98.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005447/0.5683, allocations: 245.9 kB / 0.5376 GB, free: 98.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/0.5725, allocations: 2.344 MB / 0.5399 GB, free: 97.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.5725, allocations: 16.25 kB / 0.5399 GB, free: 97.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.5725, allocations: 4.406 kB / 0.5399 GB, free: 97.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.5726, allocations: 9.922 kB / 0.5399 GB, free: 97.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007512/0.5801, allocations: 4.889 MB / 0.5447 GB, free: 95.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.5801, allocations: 3.906 kB / 0.5447 GB, free: 95.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.5813, allocations: 276.8 kB / 0.545 GB, free: 95.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008685/0.5822, allocations: 368 kB / 0.5453 GB, free: 95.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.5823, allocations: 40.23 kB / 0.5454 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005176/0.5875, allocations: 6.929 MB / 0.5521 GB, free: 90.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5875, allocations: 96 / 0.5521 GB, free: 90.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/0.5919, allocations: 3.494 MB / 0.5555 GB, free: 88.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008426/0.5927, allocations: 425.2 kB / 0.556 GB, free: 88.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.593, allocations: 28 kB / 0.556 GB, free: 88.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.594, allocations: 88.47 kB / 0.5561 GB, free: 88.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.5943, allocations: 128.7 kB / 0.5562 GB, free: 88.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.275e-05/0.5944, allocations: 43.41 kB / 0.5562 GB, free: 88.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001459/0.5958, allocations: 1.396 MB / 0.5576 GB, free: 87.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5958, allocations: 0 / 0.5576 GB, free: 87.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001738/0.5976, allocations: 0.6756 MB / 0.5582 GB, free: 86.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.0002575/0.5978, allocations: 178.8 kB / 0.5584 GB, free: 86.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.6006, allocations: 2.151 MB / 0.5605 GB, free: 84.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.6006, allocations: 4 kB / 0.5605 GB, free: 84.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.6024, allocations: 1.405 MB / 0.5619 GB, free: 83.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.6043, allocations: 0.5092 MB / 0.5624 GB, free: 82.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007955/0.6122, allocations: 7.016 MB / 0.5692 GB, free: 75.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.6139, allocations: 2.134 MB / 0.5713 GB, free: 73.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001244/0.6151, allocations: 0.5263 MB / 0.5718 GB, free: 73.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.6156, allocations: 159.4 kB / 0.572 GB, free: 72.92 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6156, allocations: 0 / 0.572 GB, free: 72.92 MB / 446.1 MB Notification: Performance of Templates: time 0.04313/0.6587, allocations: 35.5 MB / 0.6067 GB, free: 37.95 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.894020248000743]