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.00191/0.00191, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002331/0.002331, allocations: 207.5 kB / 23.73 MB, free: 4.391 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.541/1.541, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.001926/0.001926, allocations: 63.89 kB / 378.3 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2495, allocations: 53.41 MB / 431.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01988/0.2694, allocations: 15.05 MB / 446.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.2806, allocations: 5.402 MB / 452.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003684/0.2842, allocations: 127.2 kB / 452.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003644/0.2879, allocations: 1.251 MB / 453.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005282/0.2932, allocations: 1.631 MB / 455.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.2961, allocations: 1.083 MB / 456.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007455/0.3036, allocations: 5.222 MB / 461.4 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004655/0.3082, allocations: 2.219 MB / 463.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.3117, allocations: 2.251 MB / 465.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004605/0.3163, allocations: 2.498 MB / 468.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00145/0.3177, allocations: 0.6133 MB / 469 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.3201, allocations: 0.8473 MB / 469.9 MB, free: 124 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001791/0.3219, allocations: 1.426 MB / 471.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.3246, allocations: 2.101 MB / 473.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008695/0.3333, allocations: 8.197 MB / 481.6 MB, free: 4.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3333, allocations: 0 / 481.6 MB, free: 4.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3333, allocations: 0 / 481.6 MB, free: 4.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001415/0.3334, allocations: 4 kB / 481.6 MB, free: 4.355 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.01258/0.346, allocations: 5.461 MB / 487 MB, free: 14.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3461, allocations: 11.98 kB / 487.1 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/0.3514, allocations: 1.025 MB / 488.1 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006539/0.3579, allocations: 2.945 MB / 491 MB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.3582, allocations: 302.5 kB / 491.3 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006444/0.3589, allocations: 399.9 kB / 491.7 MB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009747/0.3686, allocations: 5.371 MB / 497.1 MB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.446e-05/0.3687, allocations: 4 kB / 497.1 MB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004007/0.3691, allocations: 160 kB / 497.2 MB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/0.3693, allocations: 176 kB / 497.4 MB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008807/0.3781, allocations: 4.466 MB / 0.4901 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02959/0.4077, allocations: 14.35 MB / 0.5041 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006449/0.4142, allocations: 3.23 MB / 0.5073 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004383/0.4185, allocations: 1.975 MB / 0.5092 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009471/0.428, allocations: 4.154 MB / 0.5133 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.4281, allocations: 51.88 kB / 0.5133 GB, free: 7.738 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.717e-06/0.4281, allocations: 0 / 0.5133 GB, free: 7.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01318/0.4413, allocations: 5.889 MB / 0.5191 GB, free: 1.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.4413, allocations: 68.72 kB / 0.5191 GB, free: 1.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004129/0.4454, allocations: 2.11 MB / 0.5212 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.4456, allocations: 49.7 kB / 0.5212 GB, free: 15.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.4473, allocations: 1.927 MB / 0.5231 GB, free: 13.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/0.4479, allocations: 0.5732 MB / 0.5237 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007102/0.4487, allocations: 407.8 kB / 0.5241 GB, free: 12.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4488, allocations: 301.1 kB / 0.5244 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.4504, allocations: 0.8592 MB / 0.5252 GB, free: 11.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.4528, allocations: 1.592 MB / 0.5268 GB, free: 9.516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004223/0.457, allocations: 2.589 MB / 0.5293 GB, free: 6.605 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/0.457, allocations: 4 kB / 0.5293 GB, free: 6.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005884/0.4629, allocations: 2.897 MB / 0.5321 GB, free: 3.691 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.4629, allocations: 16 kB / 0.5321 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.843e-05/0.463, allocations: 20 kB / 0.5322 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.4634, allocations: 173.6 kB / 0.5323 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.4655, allocations: 0.5305 MB / 0.5328 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.4682, allocations: 2.288 MB / 0.5351 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.4701, allocations: 107.8 kB / 0.5352 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.4703, allocations: 104 kB / 0.5353 GB, free: 352 kB / 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.2011/0.6714, allocations: 1.197 MB / 0.5364 GB, free: 98.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007247/0.6721, allocations: 237 kB / 0.5367 GB, free: 98.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004628/0.6768, allocations: 2.353 MB / 0.539 GB, free: 97.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.6768, allocations: 16.02 kB / 0.539 GB, free: 97.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.6768, allocations: 5.25 kB / 0.539 GB, free: 97.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.6768, allocations: 7.453 kB / 0.539 GB, free: 97.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008526/0.6853, allocations: 4.891 MB / 0.5438 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6853, allocations: 3.969 kB / 0.5438 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.6865, allocations: 281.8 kB / 0.544 GB, free: 95.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008565/0.6874, allocations: 359.3 kB / 0.5444 GB, free: 95.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.953e-05/0.6875, allocations: 46.41 kB / 0.5444 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005302/0.6928, allocations: 6.919 MB / 0.5512 GB, free: 89.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.6928, allocations: 7.297 kB / 0.5512 GB, free: 89.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004713/0.6975, allocations: 3.491 MB / 0.5546 GB, free: 88.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.6985, allocations: 419.6 kB / 0.555 GB, free: 88.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.6988, allocations: 34.28 kB / 0.555 GB, free: 88.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.6999, allocations: 82.92 kB / 0.5551 GB, free: 88.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.7001, allocations: 128.9 kB / 0.5552 GB, free: 88.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-05/0.7002, allocations: 48.48 kB / 0.5553 GB, free: 88.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001674/0.7019, allocations: 1.394 MB / 0.5566 GB, free: 86.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7019, allocations: 0 / 0.5566 GB, free: 86.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001887/0.7037, allocations: 0.672 MB / 0.5573 GB, free: 86.29 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.0002758/0.704, allocations: 178 kB / 0.5575 GB, free: 86.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003065/0.7071, allocations: 2.161 MB / 0.5596 GB, free: 84.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.7071, allocations: 0 / 0.5596 GB, free: 84.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.7089, allocations: 1.407 MB / 0.561 GB, free: 82.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.711, allocations: 0.5217 MB / 0.5615 GB, free: 82.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009508/0.7205, allocations: 7.048 MB / 0.5683 GB, free: 75.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.7222, allocations: 2.13 MB / 0.5704 GB, free: 73.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001599/0.7238, allocations: 0.5263 MB / 0.5709 GB, free: 72.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.7242, allocations: 155.4 kB / 0.5711 GB, free: 72.8 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7242, allocations: 0 / 0.5711 GB, free: 72.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04705/0.7713, allocations: 34.69 MB / 0.605 GB, free: 38.58 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.483601814135909]