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.001413/0.001413, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001702/0.001702, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9441/0.9441, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.[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_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.[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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.953e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01329/0.01331, allocations: 17.07 MB / 290.1 MB, free: 408 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1231/0.1364, allocations: 5.603 MB / 295.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.1382, allocations: 127.9 kB / 295.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.1406, allocations: 1.261 MB / 297 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.1436, allocations: 1.686 MB / 298.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.1451, allocations: 1.093 MB / 299.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00403/0.1491, allocations: 5.411 MB / 305.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.1513, allocations: 2.234 MB / 307.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.1541, allocations: 3.356 MB / 310.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.1559, allocations: 2.422 MB / 313.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006023/0.1565, allocations: 0.613 MB / 313.9 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.1576, allocations: 0.8389 MB / 314.7 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006191/0.1582, allocations: 1.486 MB / 316.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.1594, allocations: 1.823 MB / 318 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.1623, allocations: 4.289 MB / 322.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1624, allocations: 4 kB / 322.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1624, allocations: 0 / 322.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.888e-05/0.1624, allocations: 0 / 322.3 MB, free: 15.77 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.006704/0.1691, allocations: 5.688 MB / 328 MB, free: 10.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1691, allocations: 12.02 kB / 328 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.1723, allocations: 1.519 MB / 329.5 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.1754, allocations: 2.855 MB / 332.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.1756, allocations: 305.3 kB / 332.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/0.1759, allocations: 406 kB / 333.1 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004081/0.18, allocations: 3.196 MB / 336.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-05/0.1801, allocations: 7.938 kB / 336.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/0.1803, allocations: 165.1 kB / 336.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.1804, allocations: 172 kB / 336.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002867/0.1833, allocations: 1.526 MB / 338.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/0.196, allocations: 13.5 MB / 351.6 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.1989, allocations: 2.416 MB / 354 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.2008, allocations: 1.322 MB / 355.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004221/0.205, allocations: 3.242 MB / 358.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.205, allocations: 62.62 kB / 358.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 3.286e-06/0.205, allocations: 0 / 358.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.005858/0.2109, allocations: 3.746 MB / 362.4 MB, free: 7.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.2109, allocations: 68.72 kB / 362.5 MB, free: 7.238 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.2127, allocations: 1.869 MB / 364.4 MB, free: 5.328 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.2128, allocations: 49.7 kB / 364.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009676/0.2138, allocations: 2.019 MB / 366.4 MB, free: 3.246 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.2141, allocations: 0.5833 MB / 367 MB, free: 2.668 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/0.2145, allocations: 417.7 kB / 367.4 MB, free: 2.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2146, allocations: 480.8 kB / 367.9 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005393/0.2152, allocations: 308.1 kB / 368.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009984/0.2162, allocations: 1.356 MB / 369.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.2178, allocations: 1.824 MB / 371.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.2178, allocations: 8 kB / 371.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002262/0.2201, allocations: 1.859 MB / 373.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2201, allocations: 16.62 kB / 373.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.2201, allocations: 27.94 kB / 373.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.2204, allocations: 127.5 kB / 373.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.2214, allocations: 0.5226 MB / 373.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.2228, allocations: 2.417 MB / 376.3 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.2235, allocations: 103.9 kB / 376.4 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.2236, allocations: 96.05 kB / 376.5 MB, free: 8.086 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.0005979/0.2242, allocations: 307.8 kB / 376.8 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.2245, allocations: 286.5 kB / 377.1 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.2263, allocations: 1.407 MB / 378.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.2264, allocations: 19.94 kB / 378.5 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2264, allocations: 4 kB / 378.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.2264, allocations: 7.969 kB / 378.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.2311, allocations: 4.063 MB / 382.6 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2311, allocations: 192 / 382.6 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/0.2317, allocations: 275.6 kB / 382.9 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005867/0.2323, allocations: 292.7 kB / 383.2 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.113e-05/0.2324, allocations: 43.98 kB / 383.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004094/0.2365, allocations: 7.412 MB / 390.6 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2365, allocations: 4 kB / 390.6 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.2389, allocations: 1.924 MB / 392.5 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.2394, allocations: 406.2 kB / 392.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.2396, allocations: 36 kB / 393 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/0.2401, allocations: 75.94 kB / 393.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.2403, allocations: 117.1 kB / 393.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/0.2403, allocations: 51.92 kB / 393.2 MB, free: 6.867 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.2414, allocations: 1.033 MB / 394.3 MB, free: 5.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2414, allocations: 0 / 394.3 MB, free: 5.816 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001475/0.2429, allocations: 0.6679 MB / 394.9 MB, free: 5.148 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.0002945/0.2432, allocations: 193.5 kB / 395.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.245, allocations: 1.345 MB / 396.5 MB, free: 3.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.245, allocations: 0 / 396.5 MB, free: 3.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.2461, allocations: 1.195 MB / 397.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.2474, allocations: 0.5221 MB / 398.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008055/0.2555, allocations: 6.12 MB / 404.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.2562, allocations: 0.9342 MB / 405.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009371/0.2571, allocations: 466.9 kB / 405.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.2574, allocations: 164.5 kB / 405.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2574, allocations: 3.938 kB / 405.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Templates: time 0.1516/0.409, allocations: 29.91 MB / 435.8 MB, free: 105.4 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] 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","",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.1014679479412735]