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.00291/0.00291, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003044/0.003044, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.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_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.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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.8e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02455/0.02458, allocations: 16.93 MB / 289.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1206/0.1452, allocations: 5.584 MB / 294.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.1473, allocations: 131 kB / 295 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.1505, allocations: 1.263 MB / 296.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004681/0.1552, allocations: 1.685 MB / 297.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.1578, allocations: 1.085 MB / 299 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006606/0.1644, allocations: 5.41 MB / 304.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.1679, allocations: 2.239 MB / 306.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005428/0.1733, allocations: 3.354 MB / 310 MB, free: 7.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/0.1771, allocations: 2.411 MB / 312.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.1784, allocations: 0.6121 MB / 313 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.1808, allocations: 0.8495 MB / 313.9 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.1818, allocations: 1.492 MB / 315.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002947/0.1847, allocations: 1.811 MB / 317.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009315/0.194, allocations: 8.271 MB / 325.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.194, allocations: 0 / 325.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.194, allocations: 0 / 325.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002177/0.1943, allocations: 0 / 325.5 MB, free: 11.8 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.01622/0.2105, allocations: 6.161 MB / 331.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2105, allocations: 8.031 kB / 331.6 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006345/0.2169, allocations: 1.513 MB / 333.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007601/0.2245, allocations: 2.918 MB / 336.1 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.2248, allocations: 300.5 kB / 336.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.2259, allocations: 403.8 kB / 336.7 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.2378, allocations: 5.427 MB / 342.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.867e-05/0.2379, allocations: 7.875 kB / 342.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/0.2383, allocations: 167.9 kB / 342.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002143/0.2385, allocations: 176 kB / 342.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008812/0.2474, allocations: 3.916 MB / 346.4 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04171/0.2891, allocations: 25.34 MB / 371.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006297/0.2954, allocations: 3.033 MB / 374.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004524/0.2999, allocations: 1.834 MB / 376.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.3099, allocations: 4.208 MB / 380.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.071e-05/0.31, allocations: 54.64 kB / 380.9 MB, free: 3.105 MB / 330.7 MB Notification: Performance of pre-optimization done (n=157): time 4.168e-06/0.31, allocations: 0 / 380.9 MB, free: 3.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=160): time 0.01282/0.3228, allocations: 5.061 MB / 386 MB, free: 14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.3229, allocations: 76.59 kB / 386 MB, free: 13.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004277/0.3271, allocations: 2.666 MB / 388.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.3273, allocations: 57.7 kB / 388.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/0.3293, allocations: 2.165 MB / 390.9 MB, free: 8.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009529/0.3303, allocations: 0.6437 MB / 391.6 MB, free: 8.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008451/0.3311, allocations: 0.5056 MB / 392.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.3314, allocations: 476.8 kB / 392.5 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.3328, allocations: 0.6523 MB / 393.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/0.3353, allocations: 1.789 MB / 395 MB, free: 4.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004324/0.3396, allocations: 2.675 MB / 397.7 MB, free: 1.336 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.3396, allocations: 8 kB / 397.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005153/0.3448, allocations: 2.582 MB / 400.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.3448, allocations: 16 kB / 400.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/0.3448, allocations: 24 kB / 400.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/0.3453, allocations: 159.6 kB / 400.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.3473, allocations: 0.5226 MB / 401 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.3502, allocations: 2.615 MB / 403.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.3518, allocations: 95.91 kB / 403.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.352, allocations: 108 kB / 403.8 MB, free: 11.06 MB / 362.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.002227/0.3542, allocations: 1.078 MB / 404.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005451/0.3547, allocations: 290.4 kB / 405.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/0.3591, allocations: 1.977 MB / 407.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.3591, allocations: 12 kB / 407.1 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.3591, allocations: 8 kB / 407.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.3591, allocations: 7.969 kB / 407.1 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.3708, allocations: 5.767 MB / 412.9 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3708, allocations: 4 kB / 412.9 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.3721, allocations: 275.6 kB / 413.2 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.3733, allocations: 385.1 kB / 413.6 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.3735, allocations: 43.97 kB / 413.6 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/0.3835, allocations: 8.445 MB / 422 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.3835, allocations: 8.031 kB / 422.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006201/0.3897, allocations: 2.973 MB / 425 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/0.391, allocations: 402.2 kB / 425.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/0.3913, allocations: 32 kB / 425.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.3924, allocations: 79.94 kB / 425.5 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/0.3928, allocations: 132.9 kB / 425.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.3929, allocations: 43.98 kB / 425.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002755/0.3956, allocations: 1.505 MB / 427.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3956, allocations: 0 / 427.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002342/0.398, allocations: 0.668 MB / 427.9 MB, free: 2.414 MB / 378.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.0003857/0.3984, allocations: 182.8 kB / 428.1 MB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004006/0.4024, allocations: 2.046 MB / 430.1 MB, free: 164 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4024, allocations: 4.125 kB / 430.1 MB, free: 160 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1124/0.5147, allocations: 1.5 MB / 431.6 MB, free: 115 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.5174, allocations: 0.5207 MB / 432.1 MB, free: 115 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.5282, allocations: 6.579 MB / 438.7 MB, free: 112.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/0.5305, allocations: 2.008 MB / 440.7 MB, free: 112.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00175/0.5323, allocations: 465.6 kB / 441.2 MB, free: 112.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.5327, allocations: 164 kB / 441.3 MB, free: 112.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.164e-06/0.5327, allocations: 2.141 kB / 441.3 MB, free: 112.1 MB / 378.7 MB Notification: Performance of Templates: time 0.04576/0.5785, allocations: 29.89 MB / 471.2 MB, free: 92.59 MB / 378.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.496698240982369]