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.0009459/0.0009459, allocations: 112.1 kB / 16.62 MB, free: 6.812 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.001117/0.001117, allocations: 190 kB / 17.55 MB, free: 5.934 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.289/1.289, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009781/0.0009783, allocations: 46.36 kB / 300.1 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08255/0.08355, allocations: 49.45 MB / 349.6 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01697/0.1006, allocations: 16.44 MB / 366 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1749/0.2755, allocations: 5.327 MB / 371.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003835/0.2794, allocations: 97.72 kB / 371.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00419/0.2836, allocations: 1.103 MB / 372.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.2888, allocations: 1.438 MB / 374 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.2915, allocations: 0.9448 MB / 374.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007373/0.2989, allocations: 5.113 MB / 380 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005297/0.3043, allocations: 4.304 MB / 384.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.3081, allocations: 2.179 MB / 386.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005553/0.3136, allocations: 2.614 MB / 389.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001891/0.3156, allocations: 0.6115 MB / 389.8 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/0.32, allocations: 0.8441 MB / 390.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00185/0.3218, allocations: 1.422 MB / 392 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003888/0.3257, allocations: 2.632 MB / 394.7 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006403/0.3322, allocations: 8.017 MB / 402.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3322, allocations: 0 / 402.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3322, allocations: 0 / 402.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001878/0.3324, allocations: 0 / 402.7 MB, free: 12.32 MB / 318.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.01363/0.346, allocations: 5.375 MB / 408 MB, free: 6.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3461, allocations: 12.03 kB / 408.1 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005298/0.3514, allocations: 0.9881 MB / 409 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00559/0.357, allocations: 2.812 MB / 411.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.3573, allocations: 308.5 kB / 412.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008748/0.3582, allocations: 403.8 kB / 412.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.3683, allocations: 5.223 MB / 417.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-05/0.3684, allocations: 4 kB / 417.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003763/0.3688, allocations: 160 kB / 417.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.369, allocations: 176 kB / 418.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008348/0.3773, allocations: 4.462 MB / 422.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02686/0.4042, allocations: 16.83 MB / 439.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007155/0.4114, allocations: 8.425 MB / 447.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.4142, allocations: 1.707 MB / 449.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008119/0.4224, allocations: 5.005 MB / 454.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.4225, allocations: 51.88 kB / 454.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 4.108e-06/0.4225, allocations: 4 kB / 454.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01172/0.4342, allocations: 6.158 MB / 460.8 MB, free: 408 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.4343, allocations: 72.7 kB / 460.8 MB, free: 320 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/0.4375, allocations: 2.315 MB / 463.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.4377, allocations: 57.7 kB / 463.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.4389, allocations: 1.838 MB / 465 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004198/0.4393, allocations: 0.5472 MB / 465.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005798/0.4399, allocations: 391.6 kB / 466 MB, free: 11.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.44, allocations: 305.1 kB / 466.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.4415, allocations: 0.8475 MB / 467.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.4434, allocations: 1.566 MB / 468.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.4467, allocations: 2.561 MB / 471.2 MB, free: 5.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.4467, allocations: 4 kB / 471.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004578/0.4513, allocations: 2.884 MB / 474.1 MB, free: 2.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.4514, allocations: 19.97 kB / 474.1 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.4514, allocations: 24 kB / 474.2 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/0.4517, allocations: 125.7 kB / 474.3 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.4538, allocations: 0.5421 MB / 474.8 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.4555, allocations: 1.988 MB / 476.8 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.4573, allocations: 107.9 kB / 476.9 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.4575, allocations: 104 kB / 477 MB, free: 15.24 MB / 398.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.002176/0.4597, allocations: 1.184 MB / 478.2 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.4601, allocations: 253 kB / 478.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004243/0.4644, allocations: 2.456 MB / 480.9 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.4644, allocations: 20.06 kB / 480.9 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.4644, allocations: 8 kB / 480.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.4645, allocations: 7.969 kB / 480.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008766/0.4732, allocations: 5.815 MB / 486.8 MB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4733, allocations: 0 / 486.8 MB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/0.4746, allocations: 291.8 kB / 487 MB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008972/0.4755, allocations: 322.3 kB / 487.4 MB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.4756, allocations: 39.98 kB / 487.4 MB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00655/0.4822, allocations: 7.018 MB / 494.4 MB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4822, allocations: 4.031 kB / 494.4 MB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005738/0.4879, allocations: 3.57 MB / 498 MB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.4892, allocations: 0.4941 MB / 498.5 MB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/0.4895, allocations: 39.98 kB / 498.5 MB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.4907, allocations: 79.94 kB / 498.6 MB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.4911, allocations: 113.1 kB / 498.7 MB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.944e-05/0.4912, allocations: 47.98 kB / 498.8 MB, free: 8.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002322/0.4935, allocations: 1.572 MB / 0.4886 GB, free: 7.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4935, allocations: 0 / 0.4886 GB, free: 7.227 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002439/0.4959, allocations: 0.6719 MB / 0.4893 GB, free: 6.555 MB / 414.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.0003693/0.4963, allocations: 181.7 kB / 0.4894 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006094/0.5024, allocations: 2.914 MB / 0.4923 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5025, allocations: 0 / 0.4923 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.5047, allocations: 1.434 MB / 0.4937 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/0.508, allocations: 0.6035 MB / 0.4943 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.5209, allocations: 8.636 MB / 0.5027 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002281/0.5232, allocations: 2.661 MB / 0.5053 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001864/0.5251, allocations: 0.5513 MB / 0.5058 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/0.5255, allocations: 159.4 kB / 0.506 GB, free: 5.285 MB / 430.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5255, allocations: 0 / 0.506 GB, free: 5.285 MB / 430.1 MB Notification: Performance of Templates: time 0.2011/0.7266, allocations: 32.36 MB / 0.5376 GB, free: 136.4 MB / 446.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