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.001948/0.001948, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002206/0.002206, allocations: 160.9 kB / 24.27 MB, free: 168 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 1.532/1.532, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 1.443e-06/1.443e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.584e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02181/0.02184, allocations: 15.07 MB / 287.3 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1221/0.1439, allocations: 5.407 MB / 292.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003201/0.1471, allocations: 130.5 kB / 292.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.1517, allocations: 1.266 MB / 294.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005943/0.1576, allocations: 1.679 MB / 295.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.1608, allocations: 1.077 MB / 296.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007202/0.168, allocations: 5.415 MB / 302.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/0.1714, allocations: 2.228 MB / 304.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005332/0.1768, allocations: 3.33 MB / 307.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.1805, allocations: 2.201 MB / 310 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009316/0.1814, allocations: 0.6116 MB / 310.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.1833, allocations: 0.8495 MB / 311.5 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009487/0.1843, allocations: 1.461 MB / 312.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002631/0.1869, allocations: 1.797 MB / 314.7 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008227/0.1951, allocations: 8.226 MB / 323 MB, free: 13.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1951, allocations: 0 / 323 MB, free: 13.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1951, allocations: 0 / 323 MB, free: 13.44 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000198/0.1953, allocations: 4 kB / 323 MB, free: 13.44 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.01603/0.2114, allocations: 5.403 MB / 328.4 MB, free: 7.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2114, allocations: 11.98 kB / 328.4 MB, free: 7.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006843/0.2182, allocations: 1.523 MB / 329.9 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008244/0.2265, allocations: 3.074 MB / 333 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003989/0.2269, allocations: 310.9 kB / 333.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.2282, allocations: 400.3 kB / 333.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.2402, allocations: 5.374 MB / 339.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.644e-05/0.2403, allocations: 11.92 kB / 339.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004616/0.2408, allocations: 160 kB / 339.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/0.241, allocations: 172 kB / 339.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.251, allocations: 4.458 MB / 343.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03181/0.2828, allocations: 14.64 MB / 358.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006723/0.2895, allocations: 3.251 MB / 361.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004885/0.2944, allocations: 2.002 MB / 363.7 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.3047, allocations: 4.176 MB / 367.9 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/0.3048, allocations: 51.81 kB / 368 MB, free: 276 kB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 4.388e-06/0.3048, allocations: 0 / 368 MB, free: 276 kB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.01491/0.3197, allocations: 5.946 MB / 373.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.3197, allocations: 68.72 kB / 374 MB, free: 10.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/0.3235, allocations: 2.106 MB / 376.1 MB, free: 8.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.3237, allocations: 53.7 kB / 376.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001801/0.3255, allocations: 1.917 MB / 378.1 MB, free: 6.078 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007079/0.3262, allocations: 0.5705 MB / 378.6 MB, free: 5.516 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007157/0.327, allocations: 395.9 kB / 379 MB, free: 5.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3271, allocations: 305.1 kB / 379.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.3289, allocations: 0.8592 MB / 380.2 MB, free: 3.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.3314, allocations: 1.6 MB / 381.8 MB, free: 2.027 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/0.336, allocations: 2.589 MB / 384.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/0.336, allocations: 8 kB / 384.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0061/0.3421, allocations: 2.99 MB / 387.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.3421, allocations: 12 kB / 387.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.145e-05/0.3422, allocations: 24 kB / 387.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.3427, allocations: 182.6 kB / 387.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.3449, allocations: 0.5343 MB / 388.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.3479, allocations: 2.296 MB / 390.4 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.3497, allocations: 107.8 kB / 390.5 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.3499, allocations: 108.1 kB / 390.6 MB, free: 8.742 MB / 346.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.002253/0.3522, allocations: 1.196 MB / 391.8 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006314/0.3528, allocations: 286.5 kB / 392.1 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005005/0.3578, allocations: 2.359 MB / 394.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.3578, allocations: 15.94 kB / 394.5 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.3578, allocations: 12 kB / 394.5 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.3579, allocations: 7.969 kB / 394.5 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.3681, allocations: 4.882 MB / 399.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.3681, allocations: 4.188 kB / 399.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.3695, allocations: 279.6 kB / 399.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.3708, allocations: 398.1 kB / 400 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.3709, allocations: 39.98 kB / 400.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009047/0.38, allocations: 6.956 MB / 407 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.38, allocations: 4.031 kB / 407 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007088/0.3871, allocations: 3.547 MB / 410.6 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/0.3884, allocations: 418.3 kB / 411 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/0.3888, allocations: 36 kB / 411 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.39, allocations: 79.77 kB / 411.1 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003481/0.3903, allocations: 125.1 kB / 411.2 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.3904, allocations: 51.92 kB / 411.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002539/0.393, allocations: 1.396 MB / 412.7 MB, free: 2.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.393, allocations: 0 / 412.7 MB, free: 2.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002555/0.3955, allocations: 0.6757 MB / 413.3 MB, free: 1.578 MB / 362.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.0004369/0.396, allocations: 179.4 kB / 413.5 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00448/0.4004, allocations: 2.162 MB / 415.7 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4005, allocations: 4 kB / 415.7 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002805/0.4033, allocations: 1.409 MB / 417.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.406, allocations: 0.5362 MB / 417.6 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.4202, allocations: 6.96 MB / 424.6 MB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/0.4235, allocations: 2.142 MB / 426.7 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002082/0.4256, allocations: 0.5224 MB / 427.2 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.4262, allocations: 164.5 kB / 427.4 MB, free: 3.363 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/0.4262, allocations: 0 / 427.4 MB, free: 3.363 MB / 378.7 MB Notification: Performance of Templates: time 0.1595/0.5857, allocations: 29.93 MB / 457.3 MB, free: 106.6 MB / 378.7 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 -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/jenkins/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/jenkins/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.347278143046424]