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.001811/0.001811, allocations: 107 kB / 19.8 MB, free: 2.5 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.002268/0.002268, allocations: 217.9 kB / 23 MB, free: 5.57 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.46/1.46, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.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 0.00185/0.00185, allocations: 63.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2405, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02044/0.2609, allocations: 17.41 MB / 447.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.272, allocations: 5.723 MB / 453 MB, free: 304 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/0.2749, allocations: 103.6 kB / 453.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003958/0.2789, allocations: 1.316 MB / 454.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005857/0.2848, allocations: 1.631 MB / 456 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.2881, allocations: 1.125 MB / 457.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007615/0.2957, allocations: 5.238 MB / 462.4 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003589/0.2993, allocations: 2.309 MB / 464.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.3023, allocations: 2.2 MB / 466.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00408/0.3064, allocations: 2.674 MB / 469.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.3075, allocations: 0.6133 MB / 470.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.3093, allocations: 0.8551 MB / 471 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.3106, allocations: 1.433 MB / 472.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003044/0.3136, allocations: 2.649 MB / 475.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009691/0.3233, allocations: 8.156 MB / 483.3 MB, free: 1.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3233, allocations: 4 kB / 483.3 MB, free: 1.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3233, allocations: 0 / 483.3 MB, free: 1.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001887/0.3235, allocations: 0 / 483.3 MB, free: 1.82 MB / 382.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.01383/0.3374, allocations: 5.529 MB / 488.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3374, allocations: 16.02 kB / 488.8 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005808/0.3432, allocations: 1.021 MB / 489.8 MB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006432/0.3496, allocations: 3.021 MB / 492.8 MB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.3499, allocations: 308.2 kB / 493.1 MB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006993/0.3506, allocations: 399.9 kB / 493.5 MB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009608/0.3602, allocations: 5.221 MB / 498.8 MB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.494e-05/0.3603, allocations: 7.953 kB / 498.8 MB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003731/0.3607, allocations: 163.9 kB / 498.9 MB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.3608, allocations: 176 kB / 499.1 MB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00841/0.3692, allocations: 4.47 MB / 0.4918 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0283/0.3976, allocations: 16.72 MB / 0.5081 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008214/0.4058, allocations: 8.519 MB / 0.5164 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004006/0.4098, allocations: 1.998 MB / 0.5184 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009786/0.4196, allocations: 5.769 MB / 0.524 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.4196, allocations: 51.81 kB / 0.524 GB, free: 10.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=157): time 3.476e-06/0.4196, allocations: 0 / 0.524 GB, free: 10.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.01337/0.433, allocations: 6.364 MB / 0.5303 GB, free: 3.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.433, allocations: 76.66 kB / 0.5303 GB, free: 3.691 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/0.4367, allocations: 2.319 MB / 0.5326 GB, free: 1.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.437, allocations: 53.7 kB / 0.5326 GB, free: 1.289 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.208/0.645, allocations: 1.904 MB / 0.5345 GB, free: 99.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005758/0.6455, allocations: 0.5727 MB / 0.5351 GB, free: 99.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007254/0.6463, allocations: 401.5 kB / 0.5354 GB, free: 99.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.526e-05/0.6463, allocations: 301.6 kB / 0.5357 GB, free: 98.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.6479, allocations: 0.8549 MB / 0.5366 GB, free: 98.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.6495, allocations: 1.574 MB / 0.5381 GB, free: 97.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/0.6525, allocations: 2.588 MB / 0.5406 GB, free: 95.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.6525, allocations: 3.938 kB / 0.5406 GB, free: 95.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004575/0.6571, allocations: 2.985 MB / 0.5436 GB, free: 94.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.6571, allocations: 16.02 kB / 0.5436 GB, free: 94.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.6572, allocations: 23.5 kB / 0.5436 GB, free: 94.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.6576, allocations: 182.6 kB / 0.5438 GB, free: 94.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.6594, allocations: 0.5271 MB / 0.5443 GB, free: 94.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.6611, allocations: 2.441 MB / 0.5467 GB, free: 92.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.6628, allocations: 114.8 kB / 0.5468 GB, free: 92.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.663, allocations: 102.7 kB / 0.5469 GB, free: 92.31 MB / 446.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.001671/0.6646, allocations: 1.193 MB / 0.548 GB, free: 91.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004044/0.665, allocations: 260 kB / 0.5483 GB, free: 91.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/0.6688, allocations: 2.514 MB / 0.5507 GB, free: 90.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.6688, allocations: 15.25 kB / 0.5508 GB, free: 90.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.6688, allocations: 6.344 kB / 0.5508 GB, free: 90.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.6688, allocations: 11.39 kB / 0.5508 GB, free: 90.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007462/0.6763, allocations: 5.902 MB / 0.5565 GB, free: 87.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.6763, allocations: 0 / 0.5565 GB, free: 87.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.6774, allocations: 289.4 kB / 0.5568 GB, free: 87.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007937/0.6782, allocations: 353.2 kB / 0.5571 GB, free: 87.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.6783, allocations: 47.44 kB / 0.5572 GB, free: 87.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005217/0.6835, allocations: 7.393 MB / 0.5644 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6835, allocations: 8.094 kB / 0.5644 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004652/0.6882, allocations: 3.665 MB / 0.568 GB, free: 76.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008802/0.6891, allocations: 0.5032 MB / 0.5685 GB, free: 75.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.6894, allocations: 35.98 kB / 0.5685 GB, free: 75.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.6904, allocations: 75.94 kB / 0.5686 GB, free: 75.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.6907, allocations: 125 kB / 0.5687 GB, free: 75.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.979e-05/0.6908, allocations: 51.98 kB / 0.5688 GB, free: 75.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001798/0.6926, allocations: 1.569 MB / 0.5703 GB, free: 73.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6926, allocations: 0 / 0.5703 GB, free: 73.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001865/0.6944, allocations: 0.6721 MB / 0.571 GB, free: 72.96 MB / 446.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.0002792/0.6947, allocations: 187.1 kB / 0.5711 GB, free: 72.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.6977, allocations: 2.235 MB / 0.5733 GB, free: 70.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6977, allocations: 0 / 0.5733 GB, free: 70.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.6995, allocations: 1.409 MB / 0.5747 GB, free: 69.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.7018, allocations: 0.6187 MB / 0.5753 GB, free: 68.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.7119, allocations: 7.045 MB / 0.5822 GB, free: 61.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/0.7136, allocations: 2.681 MB / 0.5848 GB, free: 58.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001692/0.7153, allocations: 0.5513 MB / 0.5853 GB, free: 58.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.7157, allocations: 167.4 kB / 0.5855 GB, free: 57.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.7157, allocations: 0 / 0.5855 GB, free: 57.98 MB / 446.1 MB Notification: Performance of Templates: time 0.04605/0.7618, allocations: 32.45 MB / 0.6172 GB, free: 25.93 MB / 446.1 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.40310391690582]