Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001457, allocations: 110.8 kB / 17.06 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 198.9 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008741/0.0008741, allocations: 51.86 kB / 351.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2744, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02008/0.2945, allocations: 16.65 MB / 417.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3052, allocations: 5.409 MB / 422.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.3076, allocations: 99.69 kB / 422.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.3104, allocations: 1.285 MB / 424.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004311/0.3148, allocations: 1.666 MB / 425.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.317, allocations: 1.034 MB / 426.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005596/0.3226, allocations: 5.122 MB / 432 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004332/0.3269, allocations: 4.307 MB / 436.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.3294, allocations: 2.2 MB / 438.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.3322, allocations: 2.596 MB / 441.1 MB, free: 260 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007044/0.3329, allocations: 0.6133 MB / 441.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.3342, allocations: 0.8434 MB / 442.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.3354, allocations: 1.414 MB / 444 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002465/0.3379, allocations: 2.641 MB / 446.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007051/0.3449, allocations: 8.09 MB / 454.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.345, allocations: 0 / 454.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.345, allocations: 4 kB / 454.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001/0.3451, allocations: 0 / 454.7 MB, free: 2.609 MB / 366.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.01103/0.3561, allocations: 5.37 MB / 460.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3562, allocations: 8.031 kB / 460.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/0.361, allocations: 0.9948 MB / 461.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005304/0.3663, allocations: 2.956 MB / 464.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.3665, allocations: 312.2 kB / 464.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006458/0.3672, allocations: 399.8 kB / 464.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008977/0.3762, allocations: 5.213 MB / 470 MB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.18e-05/0.3763, allocations: 4 kB / 470 MB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003456/0.3767, allocations: 164 kB / 470.1 MB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.3768, allocations: 172 kB / 470.3 MB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007391/0.3842, allocations: 4.462 MB / 474.8 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.4093, allocations: 16.59 MB / 491.3 MB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007415/0.4168, allocations: 8.415 MB / 499.8 MB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/0.4196, allocations: 1.71 MB / 0.4897 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00781/0.4274, allocations: 4.95 MB / 0.4945 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.4275, allocations: 55.88 kB / 0.4946 GB, free: 12.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 4.488e-06/0.4275, allocations: 0 / 0.4946 GB, free: 12.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01126/0.4387, allocations: 6.138 MB / 0.5006 GB, free: 6.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.4388, allocations: 68.72 kB / 0.5007 GB, free: 6.523 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.442, allocations: 2.275 MB / 0.5029 GB, free: 4.223 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.4421, allocations: 53.7 kB / 0.5029 GB, free: 4.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.4433, allocations: 1.856 MB / 0.5047 GB, free: 2.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.4438, allocations: 0.5507 MB / 0.5053 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005602/0.4443, allocations: 395.7 kB / 0.5057 GB, free: 1.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.4444, allocations: 305.1 kB / 0.506 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.4458, allocations: 0.8397 MB / 0.5068 GB, free: 188 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.4476, allocations: 1.559 MB / 0.5083 GB, free: 14.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/0.4509, allocations: 2.554 MB / 0.5108 GB, free: 11.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.451, allocations: 8 kB / 0.5108 GB, free: 11.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004648/0.4556, allocations: 2.887 MB / 0.5136 GB, free: 8.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.4557, allocations: 19.94 kB / 0.5136 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.4557, allocations: 24.53 kB / 0.5137 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.456, allocations: 121.7 kB / 0.5138 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.458, allocations: 0.5421 MB / 0.5143 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.4598, allocations: 1.986 MB / 0.5162 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.4614, allocations: 115.8 kB / 0.5164 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.4616, allocations: 100.1 kB / 0.5164 GB, free: 5.449 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 (269): * Single equations (assignments): 267 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0021/0.4637, allocations: 1.192 MB / 0.5176 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.4642, allocations: 245 kB / 0.5178 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/0.4683, allocations: 2.444 MB / 0.5202 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.4683, allocations: 16.12 kB / 0.5202 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.4684, allocations: 11.94 kB / 0.5203 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.4684, allocations: 11.97 kB / 0.5203 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009528/0.4779, allocations: 5.767 MB / 0.5259 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.478, allocations: 8.125 kB / 0.5259 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.4792, allocations: 291.6 kB / 0.5262 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000802/0.48, allocations: 316.3 kB / 0.5265 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.4802, allocations: 35.98 kB / 0.5265 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006285/0.4865, allocations: 6.965 MB / 0.5333 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4865, allocations: 7.938 kB / 0.5333 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2288/0.7153, allocations: 3.543 MB / 0.5368 GB, free: 127.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/0.7169, allocations: 0.4914 MB / 0.5373 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.7173, allocations: 33.98 kB / 0.5373 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.7186, allocations: 86.34 kB / 0.5374 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/0.719, allocations: 117.1 kB / 0.5375 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.7191, allocations: 44.36 kB / 0.5375 GB, free: 127.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002924/0.722, allocations: 1.551 MB / 0.5391 GB, free: 127.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7221, allocations: 0.7812 kB / 0.5391 GB, free: 127.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002093/0.7242, allocations: 0.669 MB / 0.5397 GB, free: 127.4 MB / 462.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 (132): * Single equations (assignments): 129 * 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,5,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.0003223/0.7245, allocations: 176.6 kB / 0.5399 GB, free: 127.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003143/0.7276, allocations: 2.286 MB / 0.5421 GB, free: 126.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7277, allocations: 0 / 0.5421 GB, free: 126.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.7295, allocations: 1.436 MB / 0.5435 GB, free: 125.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.7319, allocations: 0.5975 MB / 0.5441 GB, free: 125.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.7419, allocations: 6.867 MB / 0.5508 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.7439, allocations: 2.663 MB / 0.5534 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001659/0.7455, allocations: 0.5542 MB / 0.5539 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.746, allocations: 163.9 kB / 0.5541 GB, free: 121 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.746, allocations: 0 / 0.5541 GB, free: 121 MB / 462.1 MB Notification: Performance of Templates: time 0.04481/0.7908, allocations: 30.86 MB / 0.5842 GB, free: 92.27 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches