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.0009523/0.0009523, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001553/0.001553, allocations: 157.1 kB / 24.99 MB, free: 8.219 MB / 18.57 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 0.9833/0.9833, allocations: 177 MB / 205.2 MB, free: 5.551 MB / 186.7 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.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 273 MB, free: 1.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.267e-05, allocations: 5.125 kB / 273 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01396/0.01398, allocations: 16.98 MB / 290 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1159/0.1298, allocations: 5.595 MB / 295.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003043/0.1329, allocations: 130.9 kB / 295.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00378/0.1367, allocations: 1.264 MB / 297 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004988/0.1417, allocations: 1.686 MB / 298.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.144, allocations: 1.087 MB / 299.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006062/0.1501, allocations: 5.423 MB / 305.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/0.1531, allocations: 2.232 MB / 307.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.1571, allocations: 3.364 MB / 310.8 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0029/0.16, allocations: 2.412 MB / 313.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.1611, allocations: 0.6173 MB / 313.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.1627, allocations: 0.8439 MB / 314.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009234/0.1636, allocations: 1.493 MB / 316.1 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00208/0.1657, allocations: 1.809 MB / 318 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003839/0.1695, allocations: 4.306 MB / 322.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1695, allocations: 0 / 322.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1695, allocations: 0 / 322.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001185/0.1696, allocations: 0 / 322.3 MB, free: 15.68 MB / 282.7 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.008144/0.1778, allocations: 5.697 MB / 328 MB, free: 9.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1778, allocations: 11.98 kB / 328 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/0.1815, allocations: 1.514 MB / 329.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.1852, allocations: 2.872 MB / 332.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.1854, allocations: 300.5 kB / 332.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004475/0.1858, allocations: 402.4 kB / 333 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004769/0.1906, allocations: 3.196 MB / 336.2 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.714e-05/0.1907, allocations: 7.875 kB / 336.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002502/0.1909, allocations: 171.5 kB / 336.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.1911, allocations: 172 kB / 336.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.1942, allocations: 1.526 MB / 338.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/0.211, allocations: 13.5 MB / 351.6 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.2141, allocations: 2.422 MB / 354 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.2161, allocations: 1.33 MB / 355.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005246/0.2213, allocations: 3.23 MB / 358.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.2214, allocations: 58.64 kB / 358.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 3.135e-06/0.2214, allocations: 0 / 358.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.006253/0.2276, allocations: 3.753 MB / 362.4 MB, free: 7.188 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2277, allocations: 68.72 kB / 362.5 MB, free: 7.109 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.2298, allocations: 1.866 MB / 364.3 MB, free: 5.203 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.288e-05/0.2299, allocations: 53.7 kB / 364.4 MB, free: 5.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009608/0.2308, allocations: 2.02 MB / 366.4 MB, free: 3.113 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.2312, allocations: 0.5955 MB / 367 MB, free: 2.527 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/0.2316, allocations: 421.7 kB / 367.4 MB, free: 2.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.2317, allocations: 476.8 kB / 367.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.2322, allocations: 308.1 kB / 368.2 MB, free: 1.332 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009971/0.2332, allocations: 1.352 MB / 369.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.2351, allocations: 1.824 MB / 371.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.2352, allocations: 4 kB / 371.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003006/0.2382, allocations: 1.867 MB / 373.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.2382, allocations: 16 kB / 373.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.2382, allocations: 20 kB / 373.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003012/0.2385, allocations: 130.9 kB / 373.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.2396, allocations: 0.5265 MB / 373.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.2413, allocations: 2.409 MB / 376.3 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.2427, allocations: 107.9 kB / 376.4 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.2428, allocations: 96 kB / 376.5 MB, free: 7.949 MB / 330.7 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.0008889/0.2437, allocations: 299.8 kB / 376.8 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.2441, allocations: 294.5 kB / 377.1 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.2465, allocations: 1.409 MB / 378.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.2465, allocations: 19.94 kB / 378.5 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.2465, allocations: 4 kB / 378.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.2465, allocations: 11.91 kB / 378.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006357/0.2529, allocations: 4.068 MB / 382.6 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.2529, allocations: 4 kB / 382.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/0.2536, allocations: 271.6 kB / 382.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006379/0.2543, allocations: 288.8 kB / 383.2 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/0.2543, allocations: 39.98 kB / 383.2 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/0.2589, allocations: 7.412 MB / 390.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2589, allocations: 0 / 390.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.262, allocations: 1.931 MB / 392.6 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007364/0.2627, allocations: 402.3 kB / 392.9 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.263, allocations: 32 kB / 393 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.2635, allocations: 71.94 kB / 393 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.2638, allocations: 125 kB / 393.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.2638, allocations: 51.92 kB / 393.2 MB, free: 6.738 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001236/0.2651, allocations: 1.041 MB / 394.3 MB, free: 5.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2651, allocations: 0 / 394.3 MB, free: 5.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001667/0.2667, allocations: 0.6757 MB / 394.9 MB, free: 5.004 MB / 346.7 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.0003275/0.2671, allocations: 186.6 kB / 395.1 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.2691, allocations: 1.342 MB / 396.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2691, allocations: 0 / 396.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.2704, allocations: 1.195 MB / 397.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.2719, allocations: 0.5254 MB / 398.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008705/0.2806, allocations: 6.147 MB / 404.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007708/0.2814, allocations: 0.9383 MB / 405.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001162/0.2826, allocations: 462.9 kB / 405.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.2829, allocations: 160.5 kB / 405.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of SimCode: time 1.844e-06/0.2829, allocations: 0 / 405.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of Templates: time 0.1413/0.4242, allocations: 29.94 MB / 435.8 MB, free: 122.4 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.056387985125184]