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.001644/0.001644, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001963/0.001963, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.457/1.457, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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.00157/0.00157, allocations: 51.62 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08885/0.09042, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01915/0.1096, allocations: 15.03 MB / 394 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.1209, allocations: 5.41 MB / 399.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.1237, allocations: 127.2 kB / 399.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003811/0.1275, allocations: 1.255 MB / 400.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005261/0.1327, allocations: 1.615 MB / 402.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.1356, allocations: 1.095 MB / 403.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007181/0.1428, allocations: 5.226 MB / 408.7 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004036/0.1469, allocations: 2.208 MB / 410.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.1499, allocations: 2.251 MB / 413.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004042/0.154, allocations: 2.506 MB / 415.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009735/0.155, allocations: 0.6132 MB / 416.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.1568, allocations: 0.8396 MB / 417.1 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.1582, allocations: 1.429 MB / 418.5 MB, free: 7.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002634/0.1609, allocations: 2.101 MB / 420.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008793/0.1696, allocations: 8.199 MB / 428.8 MB, free: 13.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1697, allocations: 4 kB / 428.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1697, allocations: 0 / 428.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001357/0.1698, allocations: 0 / 428.8 MB, free: 13.5 MB / 398.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.01305/0.1828, allocations: 5.457 MB / 434.3 MB, free: 7.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1829, allocations: 8.031 kB / 434.3 MB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005423/0.1883, allocations: 1.025 MB / 435.3 MB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006554/0.1949, allocations: 2.941 MB / 438.3 MB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.1951, allocations: 304.2 kB / 438.6 MB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006324/0.1957, allocations: 403.9 kB / 439 MB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009251/0.205, allocations: 5.371 MB / 444.3 MB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.805e-05/0.2051, allocations: 7.953 kB / 444.3 MB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/0.2055, allocations: 164 kB / 444.5 MB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001863/0.2056, allocations: 172 kB / 444.7 MB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007944/0.2136, allocations: 4.458 MB / 449.1 MB, free: 8.949 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02409/0.2377, allocations: 14.36 MB / 463.5 MB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005987/0.2437, allocations: 3.228 MB / 466.7 MB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004204/0.2479, allocations: 1.99 MB / 468.7 MB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008494/0.2564, allocations: 4.158 MB / 472.9 MB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.2564, allocations: 51.88 kB / 472.9 MB, free: 0.8672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.657e-06/0.2564, allocations: 3.938 kB / 472.9 MB, free: 0.8633 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.1806/0.437, allocations: 5.865 MB / 478.8 MB, free: 80.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.4371, allocations: 68.89 kB / 478.8 MB, free: 80.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.4399, allocations: 2.115 MB / 481 MB, free: 79.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-05/0.4399, allocations: 53.52 kB / 481 MB, free: 79.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009706/0.4409, allocations: 1.924 MB / 482.9 MB, free: 78.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.4412, allocations: 0.5778 MB / 483.5 MB, free: 78.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/0.4418, allocations: 397.6 kB / 483.9 MB, free: 78.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.4418, allocations: 306.5 kB / 484.2 MB, free: 77.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4432, allocations: 0.8626 MB / 485.1 MB, free: 77.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.4448, allocations: 1.591 MB / 486.7 MB, free: 76.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/0.4479, allocations: 2.593 MB / 489.2 MB, free: 74.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.4479, allocations: 5.5 kB / 489.2 MB, free: 74.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004416/0.4523, allocations: 2.885 MB / 492.1 MB, free: 73.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.4523, allocations: 13.73 kB / 492.1 MB, free: 73.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.4524, allocations: 22.34 kB / 492.2 MB, free: 73.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004251/0.4528, allocations: 185 kB / 492.4 MB, free: 73.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.4546, allocations: 0.5318 MB / 492.9 MB, free: 73.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.4563, allocations: 2.292 MB / 495.2 MB, free: 71.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.4579, allocations: 112.8 kB / 495.3 MB, free: 71.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.458, allocations: 98.19 kB / 495.4 MB, free: 71.36 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 (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.00169/0.4597, allocations: 1.202 MB / 496.6 MB, free: 70.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.46, allocations: 235.6 kB / 496.8 MB, free: 70.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/0.4635, allocations: 2.347 MB / 499.2 MB, free: 69.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.4635, allocations: 14.75 kB / 499.2 MB, free: 69.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4635, allocations: 7.25 kB / 499.2 MB, free: 69.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.4635, allocations: 7.312 kB / 499.2 MB, free: 69.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006666/0.4701, allocations: 4.886 MB / 0.4923 GB, free: 65.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4702, allocations: 2.812 kB / 0.4923 GB, free: 65.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.4713, allocations: 283.8 kB / 0.4925 GB, free: 65.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007576/0.4721, allocations: 365.5 kB / 0.4929 GB, free: 65.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/0.4722, allocations: 39.98 kB / 0.4929 GB, free: 65.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005027/0.4772, allocations: 6.93 MB / 0.4997 GB, free: 58.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4772, allocations: 4.125 kB / 0.4997 GB, free: 58.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/0.4818, allocations: 3.487 MB / 0.5031 GB, free: 54.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/0.4827, allocations: 430 kB / 0.5035 GB, free: 54.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.4829, allocations: 36 kB / 0.5035 GB, free: 54.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.484, allocations: 75.94 kB / 0.5036 GB, free: 54.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.4842, allocations: 128.9 kB / 0.5037 GB, free: 53.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/0.4843, allocations: 51.98 kB / 0.5038 GB, free: 53.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001589/0.4859, allocations: 1.392 MB / 0.5051 GB, free: 52.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4859, allocations: 0 / 0.5051 GB, free: 52.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002043/0.4879, allocations: 0.6757 MB / 0.5058 GB, free: 51.75 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 (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.0002566/0.4882, allocations: 178.8 kB / 0.506 GB, free: 51.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00298/0.4912, allocations: 2.156 MB / 0.5081 GB, free: 49.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4912, allocations: 0 / 0.5081 GB, free: 49.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/0.4929, allocations: 1.414 MB / 0.5095 GB, free: 47.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.4948, allocations: 0.4982 MB / 0.5099 GB, free: 47.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009218/0.5041, allocations: 7.01 MB / 0.5168 GB, free: 40.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.5058, allocations: 2.138 MB / 0.5189 GB, free: 38.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001523/0.5073, allocations: 0.5263 MB / 0.5194 GB, free: 37.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.5077, allocations: 160.5 kB / 0.5195 GB, free: 37.59 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5077, allocations: 0 / 0.5195 GB, free: 37.59 MB / 430.1 MB Notification: Performance of Templates: time 0.0441/0.5518, allocations: 30.07 MB / 0.5489 GB, free: 7.98 MB / 430.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 ida -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: 5.876714518060908]