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.001885/0.001885, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002245/0.002245, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.447/1.447, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 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 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.56e-05, allocations: 8.75 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02038/0.0204, allocations: 15.07 MB / 340.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.03208, allocations: 5.417 MB / 345.5 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/0.03522, allocations: 127.2 kB / 345.6 MB, free: 376 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.03952, allocations: 1.266 MB / 346.9 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0066/0.04612, allocations: 1.68 MB / 348.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.0497, allocations: 1.077 MB / 349.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008316/0.05801, allocations: 5.423 MB / 355.1 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004287/0.0623, allocations: 2.227 MB / 357.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005557/0.06786, allocations: 3.329 MB / 360.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00411/0.07197, allocations: 2.201 MB / 362.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.07327, allocations: 0.6133 MB / 363.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.07541, allocations: 0.8394 MB / 364.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.07719, allocations: 1.472 MB / 365.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002806/0.07999, allocations: 1.797 MB / 367.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009021/0.08901, allocations: 8.215 MB / 375.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.08902, allocations: 0 / 375.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.08902, allocations: 0 / 375.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.33e-05/0.0891, allocations: 3.938 kB / 375.8 MB, free: 2.059 MB / 334.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.01263/0.1017, allocations: 5.409 MB / 381.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1018, allocations: 11.98 kB / 381.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/0.1074, allocations: 1.021 MB / 382.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005979/0.1134, allocations: 2.94 MB / 385.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.1137, allocations: 300.5 kB / 385.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006952/0.1144, allocations: 408.3 kB / 385.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009642/0.124, allocations: 5.375 MB / 391.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-05/0.1241, allocations: 3.953 kB / 391.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004213/0.1245, allocations: 164 kB / 391.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.1247, allocations: 176 kB / 391.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008249/0.1329, allocations: 4.451 MB / 396 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0246/0.1575, allocations: 14.35 MB / 410.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006126/0.1637, allocations: 3.24 MB / 413.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004259/0.1679, allocations: 1.986 MB / 415.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00834/0.1763, allocations: 4.151 MB / 419.8 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.32e-05/0.1763, allocations: 55.81 kB / 419.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 3.367e-06/0.1763, allocations: 0 / 419.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=160): time 0.01337/0.1897, allocations: 5.877 MB / 425.7 MB, free: 15.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.1898, allocations: 72.72 kB / 425.8 MB, free: 15.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.1932, allocations: 2.113 MB / 427.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.1933, allocations: 53.7 kB / 427.9 MB, free: 13.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.1949, allocations: 1.915 MB / 429.8 MB, free: 11.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005404/0.1955, allocations: 0.5693 MB / 430.4 MB, free: 10.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006582/0.1961, allocations: 399.8 kB / 430.8 MB, free: 10.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1962, allocations: 309.1 kB / 431.1 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.1979, allocations: 0.8514 MB / 432 MB, free: 9.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.2002, allocations: 1.6 MB / 433.6 MB, free: 7.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/0.2043, allocations: 2.582 MB / 436.1 MB, free: 4.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.2043, allocations: 8 kB / 436.1 MB, free: 4.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005405/0.2097, allocations: 2.892 MB / 439 MB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.2097, allocations: 12 kB / 439 MB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/0.2097, allocations: 24 kB / 439.1 MB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.2102, allocations: 186 kB / 439.3 MB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.2123, allocations: 0.5266 MB / 439.8 MB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.2151, allocations: 2.276 MB / 442.1 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.2168, allocations: 119.9 kB / 442.2 MB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.217, allocations: 99.98 kB / 442.3 MB, free: 14.12 MB / 414.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.002155/0.2191, allocations: 1.192 MB / 443.5 MB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004739/0.2196, allocations: 238.5 kB / 443.7 MB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004842/0.2244, allocations: 2.359 MB / 446.1 MB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.2245, allocations: 12 kB / 446.1 MB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.2245, allocations: 8 kB / 446.1 MB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.2245, allocations: 11.97 kB / 446.1 MB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009136/0.2336, allocations: 4.884 MB / 451 MB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2336, allocations: 0 / 451 MB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.235, allocations: 283.6 kB / 451.2 MB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.236, allocations: 366.7 kB / 451.6 MB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.2361, allocations: 39.98 kB / 451.6 MB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008334/0.2444, allocations: 6.925 MB / 458.6 MB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2444, allocations: 384 / 458.6 MB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/0.251, allocations: 3.482 MB / 462.1 MB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.2522, allocations: 418.3 kB / 462.5 MB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.2525, allocations: 36 kB / 462.5 MB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.2537, allocations: 91.81 kB / 462.6 MB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.254, allocations: 121 kB / 462.7 MB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.2541, allocations: 47.98 kB / 462.8 MB, free: 9.168 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002273/0.2564, allocations: 1.404 MB / 464.2 MB, free: 7.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2564, allocations: 0 / 464.2 MB, free: 7.746 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002298/0.2587, allocations: 0.6679 MB / 464.8 MB, free: 7.078 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.0004134/0.2591, allocations: 177.9 kB / 465 MB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004211/0.2633, allocations: 2.162 MB / 467.2 MB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2633, allocations: 4 kB / 467.2 MB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002536/0.2658, allocations: 1.41 MB / 468.6 MB, free: 3.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.2682, allocations: 0.5065 MB / 469.1 MB, free: 2.754 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1462/0.4144, allocations: 6.848 MB / 475.9 MB, free: 123.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002417/0.4168, allocations: 2.135 MB / 478.1 MB, free: 123.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001659/0.4185, allocations: 0.5314 MB / 478.6 MB, free: 123.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004552/0.4189, allocations: 158.2 kB / 478.7 MB, free: 123.4 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4189, allocations: 0 / 478.7 MB, free: 123.4 MB / 430.1 MB Notification: Performance of Templates: time 0.04364/0.4626, allocations: 29.82 MB / 0.4966 GB, free: 103.8 MB / 430.1 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=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.0760049521923065]