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.001299/0.001299, allocations: 77.94 kB / 21.25 MB, free: 0.5469 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.001402/0.001402, allocations: 159.7 kB / 24.5 MB, free: 3.719 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.405/1.405, allocations: 177.1 MB / 204.7 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 179] 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.001935/0.001935, allocations: 58.33 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.08887, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.019/0.1079, allocations: 15.05 MB / 394 MB, free: 336 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1181, allocations: 5.406 MB / 399.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.1197, allocations: 131.2 kB / 399.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.1225, allocations: 1.251 MB / 400.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.1263, allocations: 1.619 MB / 402.4 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.1286, allocations: 1.086 MB / 403.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00636/0.135, allocations: 5.238 MB / 408.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003243/0.1382, allocations: 2.208 MB / 410.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.1411, allocations: 2.251 MB / 413.2 MB, free: 13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003942/0.1451, allocations: 2.509 MB / 415.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000913/0.146, allocations: 0.6133 MB / 416.3 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.1476, allocations: 0.8396 MB / 417.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.149, allocations: 1.429 MB / 418.6 MB, free: 7.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002563/0.1515, allocations: 2.104 MB / 420.7 MB, free: 5.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009182/0.1607, allocations: 8.199 MB / 428.9 MB, free: 13.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1607, allocations: 0 / 428.9 MB, free: 13.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1607, allocations: 0 / 428.9 MB, free: 13.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001266/0.1609, allocations: 0 / 428.9 MB, free: 13.25 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.01264/0.1735, allocations: 5.457 MB / 434.3 MB, free: 7.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1735, allocations: 11.98 kB / 434.3 MB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005432/0.179, allocations: 1.028 MB / 435.4 MB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005868/0.1848, allocations: 2.929 MB / 438.3 MB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/0.1851, allocations: 308.2 kB / 438.6 MB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006022/0.1857, allocations: 399.9 kB / 439 MB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008928/0.1946, allocations: 5.367 MB / 444.4 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.582e-05/0.1947, allocations: 7.953 kB / 444.4 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003751/0.1951, allocations: 171.9 kB / 444.5 MB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/0.1953, allocations: 176 kB / 444.7 MB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007893/0.2032, allocations: 4.458 MB / 449.2 MB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/0.2269, allocations: 14.35 MB / 463.5 MB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005707/0.2326, allocations: 3.234 MB / 466.7 MB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004047/0.2367, allocations: 1.986 MB / 468.7 MB, free: 4.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008147/0.2448, allocations: 4.162 MB / 472.9 MB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.2448, allocations: 47.88 kB / 472.9 MB, free: 0.6211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.456e-06/0.2448, allocations: 0 / 472.9 MB, free: 0.6211 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.183/0.4278, allocations: 5.868 MB / 478.8 MB, free: 80.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.4278, allocations: 68.03 kB / 478.9 MB, free: 80.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.4306, allocations: 2.116 MB / 481 MB, free: 79.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.79e-05/0.4307, allocations: 52.14 kB / 481 MB, free: 79.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009338/0.4316, allocations: 1.927 MB / 483 MB, free: 78.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.4319, allocations: 0.574 MB / 483.5 MB, free: 78.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005244/0.4324, allocations: 401.4 kB / 483.9 MB, free: 77.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.381e-05/0.4325, allocations: 310.8 kB / 484.2 MB, free: 77.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.4338, allocations: 0.8546 MB / 485.1 MB, free: 77.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.4355, allocations: 1.592 MB / 486.7 MB, free: 75.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.4385, allocations: 2.594 MB / 489.3 MB, free: 74.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.4386, allocations: 6.875 kB / 489.3 MB, free: 74.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004243/0.4428, allocations: 2.887 MB / 492.2 MB, free: 73.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.4428, allocations: 17.45 kB / 492.2 MB, free: 73.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/0.4429, allocations: 23.22 kB / 492.2 MB, free: 73.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004538/0.4433, allocations: 175.9 kB / 492.4 MB, free: 73.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.4451, allocations: 0.5413 MB / 492.9 MB, free: 72.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.4468, allocations: 2.284 MB / 495.2 MB, free: 71.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.4483, allocations: 114.5 kB / 495.3 MB, free: 71.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.4484, allocations: 96.97 kB / 495.4 MB, free: 71.09 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.001536/0.4499, allocations: 1.203 MB / 496.6 MB, free: 70.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.4502, allocations: 236.2 kB / 496.8 MB, free: 70.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/0.4537, allocations: 2.346 MB / 499.2 MB, free: 69.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.4537, allocations: 16.03 kB / 499.2 MB, free: 69.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4537, allocations: 3.875 kB / 499.2 MB, free: 69.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.4537, allocations: 7.312 kB / 499.2 MB, free: 69.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00649/0.4602, allocations: 4.887 MB / 0.4923 GB, free: 65.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.4602, allocations: 7.375 kB / 0.4923 GB, free: 65.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.4614, allocations: 279.6 kB / 0.4926 GB, free: 65.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007496/0.4621, allocations: 365.8 kB / 0.4929 GB, free: 64.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.144e-05/0.4622, allocations: 43.97 kB / 0.493 GB, free: 64.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/0.4672, allocations: 6.927 MB / 0.4997 GB, free: 57.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.4672, allocations: 0 / 0.4997 GB, free: 57.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.4717, allocations: 3.482 MB / 0.5031 GB, free: 54.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009025/0.4726, allocations: 425 kB / 0.5035 GB, free: 53.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/0.4729, allocations: 39.92 kB / 0.5036 GB, free: 53.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.4739, allocations: 87.5 kB / 0.5036 GB, free: 53.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.4742, allocations: 129 kB / 0.5038 GB, free: 53.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.921e-05/0.4742, allocations: 43.98 kB / 0.5038 GB, free: 53.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001543/0.4758, allocations: 1.392 MB / 0.5052 GB, free: 52 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4758, allocations: 0 / 0.5052 GB, free: 52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001985/0.4778, allocations: 0.6718 MB / 0.5058 GB, free: 51.32 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.0002652/0.478, allocations: 183.8 kB / 0.506 GB, free: 51.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002989/0.481, allocations: 2.16 MB / 0.5081 GB, free: 48.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.481, allocations: 0 / 0.5081 GB, free: 48.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.4828, allocations: 1.414 MB / 0.5095 GB, free: 47.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.4848, allocations: 0.504 MB / 0.51 GB, free: 47.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00901/0.4939, allocations: 7.033 MB / 0.5169 GB, free: 39.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/0.4956, allocations: 2.138 MB / 0.5189 GB, free: 37.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001461/0.497, allocations: 0.5185 MB / 0.5194 GB, free: 37.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.4974, allocations: 156.5 kB / 0.5196 GB, free: 37.14 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4974, allocations: 0 / 0.5196 GB, free: 37.14 MB / 430.1 MB Notification: Performance of Templates: time 0.04179/0.5392, allocations: 30.06 MB / 0.549 GB, free: 7.469 MB / 430.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 -s ida -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: 6.051445543998852]