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.001376/0.001376, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001481/0.001481, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9055/0.9055, allocations: 177 MB / 204.8 MB, free: 5.602 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.693e-06/1.693e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.185e-05, allocations: 5.125 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01292/0.01294, allocations: 17.07 MB / 290 MB, free: 300 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1154/0.1284, allocations: 5.609 MB / 295.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.1302, allocations: 130.5 kB / 295.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.1325, allocations: 1.264 MB / 297 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.1357, allocations: 1.698 MB / 298.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.1373, allocations: 1.085 MB / 299.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004407/0.1417, allocations: 5.427 MB / 305.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.1443, allocations: 2.235 MB / 307.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.1489, allocations: 3.726 MB / 311.2 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.1519, allocations: 2.487 MB / 313.7 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000958/0.1528, allocations: 0.6019 MB / 314.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.1545, allocations: 0.8414 MB / 315.1 MB, free: 6.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000769/0.1553, allocations: 1.465 MB / 316.6 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002367/0.1576, allocations: 1.793 MB / 318.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.1615, allocations: 4.264 MB / 322.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1615, allocations: 0 / 322.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1615, allocations: 4 kB / 322.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.189e-05/0.1616, allocations: 0 / 322.6 MB, free: 15.3 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.007092/0.1686, allocations: 5.586 MB / 328.2 MB, free: 9.672 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1687, allocations: 15.98 kB / 328.2 MB, free: 9.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/0.1717, allocations: 1.421 MB / 329.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.1754, allocations: 2.857 MB / 332.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.1755, allocations: 307.1 kB / 332.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004513/0.176, allocations: 400.3 kB / 333.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004725/0.1807, allocations: 3.201 MB / 336.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.531e-05/0.1808, allocations: 7.984 kB / 336.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.181, allocations: 160 kB / 336.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.1811, allocations: 172 kB / 336.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/0.1842, allocations: 1.523 MB / 338.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.1996, allocations: 13.47 MB / 351.7 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.2024, allocations: 2.427 MB / 354.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.2043, allocations: 1.336 MB / 355.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004873/0.2092, allocations: 3.208 MB / 358.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.2092, allocations: 58.64 kB / 358.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 3.387e-06/0.2092, allocations: 0 / 358.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.006196/0.2154, allocations: 3.738 MB / 362.5 MB, free: 7.102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.2154, allocations: 68.72 kB / 362.6 MB, free: 7.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.2175, allocations: 1.862 MB / 364.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.138e-05/0.2176, allocations: 57.7 kB / 364.5 MB, free: 5.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000925/0.2185, allocations: 2.016 MB / 366.5 MB, free: 3.031 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/0.2189, allocations: 0.5945 MB / 367.1 MB, free: 2.445 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003872/0.2192, allocations: 421.7 kB / 367.5 MB, free: 2.023 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.2193, allocations: 480.7 kB / 368 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.2198, allocations: 304.1 kB / 368.3 MB, free: 1.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009044/0.2207, allocations: 1.356 MB / 369.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.2225, allocations: 1.824 MB / 371.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.2225, allocations: 8 kB / 371.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002272/0.2248, allocations: 1.855 MB / 373.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.2248, allocations: 15.19 kB / 373.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.2248, allocations: 24 kB / 373.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002754/0.2251, allocations: 132.2 kB / 373.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.2261, allocations: 0.5303 MB / 374 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.2275, allocations: 2.418 MB / 376.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/0.2283, allocations: 95.91 kB / 376.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.2284, allocations: 99.98 kB / 376.6 MB, free: 7.863 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.0006596/0.2291, allocations: 291.8 kB / 376.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004778/0.2296, allocations: 294.5 kB / 377.2 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.2314, allocations: 1.407 MB / 378.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.2314, allocations: 16 kB / 378.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2314, allocations: 4 kB / 378.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.2314, allocations: 7.969 kB / 378.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/0.2362, allocations: 4.048 MB / 382.7 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2362, allocations: 4 kB / 382.7 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000641/0.2369, allocations: 271.8 kB / 382.9 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005883/0.2374, allocations: 287.2 kB / 383.2 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.011e-05/0.2375, allocations: 39.98 kB / 383.3 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004199/0.2417, allocations: 7.414 MB / 390.7 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2417, allocations: 4 kB / 390.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.2444, allocations: 1.928 MB / 392.6 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/0.2449, allocations: 394.3 kB / 393 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.2451, allocations: 35.98 kB / 393 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.2456, allocations: 71.89 kB / 393.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.2457, allocations: 129 kB / 393.2 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.2458, allocations: 43.98 kB / 393.3 MB, free: 6.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001074/0.2469, allocations: 1.033 MB / 394.3 MB, free: 5.645 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2469, allocations: 0 / 394.3 MB, free: 5.645 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00144/0.2483, allocations: 0.6679 MB / 395 MB, free: 4.977 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.0002803/0.2486, allocations: 187.8 kB / 395.2 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.2503, allocations: 1.349 MB / 396.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2503, allocations: 0 / 396.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.2513, allocations: 1.196 MB / 397.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.2525, allocations: 0.5196 MB / 398.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007312/0.2598, allocations: 6.143 MB / 404.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/0.2605, allocations: 0.9305 MB / 405.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008776/0.2614, allocations: 474.9 kB / 405.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.2617, allocations: 152.5 kB / 405.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2617, allocations: 0 / 405.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of Templates: time 0.1478/0.4096, allocations: 31.14 MB / 437 MB, free: 106.2 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: 3.7569414926692843]