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.001399/0.001399, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002346/0.002346, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.002536/0.002536, allocations: 51.91 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2776, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01958/0.2972, allocations: 15.05 MB / 446.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.3081, allocations: 5.394 MB / 452 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.3109, allocations: 127.2 kB / 452.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.3145, allocations: 1.254 MB / 453.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005037/0.3196, allocations: 1.627 MB / 455 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.3225, allocations: 1.081 MB / 456.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00744/0.3299, allocations: 5.229 MB / 461.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004394/0.3343, allocations: 2.317 MB / 463.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.3377, allocations: 2.251 MB / 465.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004598/0.3423, allocations: 2.674 MB / 468.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.3439, allocations: 0.6133 MB / 469.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.3467, allocations: 0.8435 MB / 470.1 MB, free: 56 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0022/0.3489, allocations: 1.433 MB / 471.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003951/0.3528, allocations: 2.104 MB / 473.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.3633, allocations: 8.199 MB / 481.8 MB, free: 4.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3633, allocations: 0 / 481.8 MB, free: 4.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3633, allocations: 0 / 481.8 MB, free: 4.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002042/0.3635, allocations: 4 kB / 481.8 MB, free: 4.273 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.01429/0.3778, allocations: 5.459 MB / 487.3 MB, free: 14.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3778, allocations: 8.031 kB / 487.3 MB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005451/0.3833, allocations: 1.025 MB / 488.3 MB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006379/0.3897, allocations: 2.941 MB / 491.2 MB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.3899, allocations: 301.8 kB / 491.5 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006503/0.3906, allocations: 395.9 kB / 491.9 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009382/0.4, allocations: 5.375 MB / 497.3 MB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.885e-05/0.4001, allocations: 8 kB / 497.3 MB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000387/0.4005, allocations: 163.9 kB / 497.5 MB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.4006, allocations: 172 kB / 497.6 MB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007921/0.4086, allocations: 4.458 MB / 0.4903 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0262/0.4348, allocations: 14.36 MB / 0.5043 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006213/0.441, allocations: 3.228 MB / 0.5075 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00439/0.4454, allocations: 1.979 MB / 0.5094 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009946/0.4553, allocations: 4.15 MB / 0.5135 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.4554, allocations: 51.88 kB / 0.5135 GB, free: 7.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.747e-06/0.4554, allocations: 0 / 0.5135 GB, free: 7.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01291/0.4683, allocations: 5.885 MB / 0.5193 GB, free: 1.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.4683, allocations: 72.66 kB / 0.5193 GB, free: 1.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.4715, allocations: 2.11 MB / 0.5214 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.4717, allocations: 53.7 kB / 0.5214 GB, free: 15.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.4732, allocations: 1.923 MB / 0.5233 GB, free: 13.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005405/0.4737, allocations: 0.5771 MB / 0.5239 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006248/0.4744, allocations: 399.9 kB / 0.5243 GB, free: 12.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4745, allocations: 309.1 kB / 0.5246 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.476, allocations: 0.8553 MB / 0.5254 GB, free: 11.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.4782, allocations: 1.592 MB / 0.527 GB, free: 9.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003954/0.4822, allocations: 2.586 MB / 0.5295 GB, free: 6.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/0.4822, allocations: 8 kB / 0.5295 GB, free: 6.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005422/0.4876, allocations: 2.896 MB / 0.5323 GB, free: 3.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4876, allocations: 16 kB / 0.5323 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/0.4877, allocations: 31.94 kB / 0.5324 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/0.4881, allocations: 173.8 kB / 0.5325 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.4902, allocations: 0.5265 MB / 0.533 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.493, allocations: 2.288 MB / 0.5353 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.4947, allocations: 111.8 kB / 0.5354 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.4949, allocations: 99.98 kB / 0.5355 GB, free: 272 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.1958/0.6907, allocations: 1.193 MB / 0.5366 GB, free: 98.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005773/0.6913, allocations: 240 kB / 0.5369 GB, free: 98.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/0.6955, allocations: 2.352 MB / 0.5392 GB, free: 97.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.6955, allocations: 16.39 kB / 0.5392 GB, free: 97.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.6955, allocations: 5.844 kB / 0.5392 GB, free: 97.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.6955, allocations: 7.688 kB / 0.5392 GB, free: 97.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007739/0.7033, allocations: 4.886 MB / 0.544 GB, free: 95.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.7033, allocations: 2.844 kB / 0.544 GB, free: 95.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.7044, allocations: 282.5 kB / 0.5442 GB, free: 95.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008132/0.7052, allocations: 361.8 kB / 0.5446 GB, free: 95.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.906e-05/0.7053, allocations: 44.42 kB / 0.5446 GB, free: 95.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005217/0.7105, allocations: 6.936 MB / 0.5514 GB, free: 89.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7105, allocations: 3.594 kB / 0.5514 GB, free: 89.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004766/0.7153, allocations: 3.485 MB / 0.5548 GB, free: 88.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.7164, allocations: 422.9 kB / 0.5552 GB, free: 88.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/0.7167, allocations: 32.97 kB / 0.5552 GB, free: 88.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.7178, allocations: 83.16 kB / 0.5553 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.718, allocations: 132.6 kB / 0.5555 GB, free: 88.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.402e-05/0.7181, allocations: 47.75 kB / 0.5555 GB, free: 88.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00168/0.7198, allocations: 1.4 MB / 0.5569 GB, free: 87.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7198, allocations: 0 / 0.5569 GB, free: 87.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001971/0.7218, allocations: 0.668 MB / 0.5575 GB, free: 86.39 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.0002902/0.7221, allocations: 181.7 kB / 0.5577 GB, free: 86.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003036/0.7251, allocations: 2.156 MB / 0.5598 GB, free: 84.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.7251, allocations: 0 / 0.5598 GB, free: 84.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.7269, allocations: 1.405 MB / 0.5612 GB, free: 83.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.7292, allocations: 0.5108 MB / 0.5617 GB, free: 82.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009444/0.7386, allocations: 7.018 MB / 0.5685 GB, free: 75.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.7403, allocations: 2.134 MB / 0.5706 GB, free: 73.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001515/0.7418, allocations: 0.5263 MB / 0.5711 GB, free: 73.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.7422, allocations: 163.4 kB / 0.5713 GB, free: 72.91 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7422, allocations: 0 / 0.5713 GB, free: 72.91 MB / 446.1 MB Notification: Performance of Templates: time 0.04622/0.7884, allocations: 35.49 MB / 0.6059 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 -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/jenkins/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/jenkins/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.242039972450584]