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.001493/0.001493, allocations: 101 kB / 17.59 MB, free: 5.422 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.001585/0.001585, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.503/1.503, allocations: 222.9 MB / 242.2 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009907/0.0009908, allocations: 38.91 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08743/0.08844, allocations: 49.45 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01682/0.1053, allocations: 16.64 MB / 367.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1881/0.2935, allocations: 5.417 MB / 372.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.2966, allocations: 104.9 kB / 372.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003624/0.3003, allocations: 1.251 MB / 374.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005202/0.3055, allocations: 1.609 MB / 375.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.3082, allocations: 1.047 MB / 376.8 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006992/0.3153, allocations: 5.089 MB / 381.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005409/0.3207, allocations: 4.312 MB / 386.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.3246, allocations: 2.168 MB / 388.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004647/0.3293, allocations: 2.596 MB / 391 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.3307, allocations: 0.613 MB / 391.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.3334, allocations: 0.8443 MB / 392.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.3346, allocations: 1.415 MB / 393.8 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00362/0.3383, allocations: 2.641 MB / 396.5 MB, free: 1.738 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007266/0.3456, allocations: 8.031 MB / 404.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3456, allocations: 3.938 kB / 404.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3456, allocations: 0 / 404.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002018/0.3458, allocations: 0 / 404.5 MB, free: 11.46 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.01321/0.359, allocations: 5.375 MB / 409.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3591, allocations: 8.031 kB / 409.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005037/0.3641, allocations: 0.989 MB / 410.9 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005803/0.3699, allocations: 2.886 MB / 413.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.3702, allocations: 304.7 kB / 414.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007213/0.371, allocations: 411.7 kB / 414.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009551/0.3805, allocations: 5.208 MB / 419.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.891e-05/0.3806, allocations: 11.89 kB / 419.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000517/0.3812, allocations: 171.7 kB / 419.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.3813, allocations: 168 kB / 420 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00772/0.389, allocations: 4.462 MB / 424.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0248/0.4139, allocations: 16.78 MB / 441.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00789/0.4218, allocations: 8.422 MB / 449.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/0.4246, allocations: 1.7 MB / 451.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007921/0.4325, allocations: 4.975 MB / 456.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4326, allocations: 51.88 kB / 456.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 3.346e-06/0.4326, allocations: 0 / 456.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01199/0.4446, allocations: 6.145 MB / 462.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.4447, allocations: 68.72 kB / 462.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/0.4486, allocations: 2.286 MB / 464.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.4488, allocations: 57.7 kB / 465 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.4501, allocations: 1.837 MB / 466.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000456/0.4505, allocations: 0.544 MB / 467.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006217/0.4512, allocations: 399.6 kB / 467.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.4513, allocations: 305.1 kB / 468 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.4528, allocations: 0.8397 MB / 468.9 MB, free: 9.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.4547, allocations: 1.559 MB / 470.4 MB, free: 7.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003487/0.4582, allocations: 2.565 MB / 473 MB, free: 4.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/0.4582, allocations: 8 kB / 473 MB, free: 4.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004863/0.4631, allocations: 2.88 MB / 475.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.4632, allocations: 19.94 kB / 475.9 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/0.4632, allocations: 20 kB / 475.9 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/0.4636, allocations: 125.9 kB / 476.1 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.4656, allocations: 0.5421 MB / 476.6 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.4674, allocations: 1.996 MB / 478.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.4693, allocations: 111.8 kB / 478.7 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.4695, allocations: 96 kB / 478.8 MB, free: 14.45 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.002096/0.4716, allocations: 1.192 MB / 480 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005693/0.4721, allocations: 245 kB / 480.2 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.4765, allocations: 2.448 MB / 482.7 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.4765, allocations: 16 kB / 482.7 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.4765, allocations: 4.125 kB / 482.7 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.4766, allocations: 15.97 kB / 482.7 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009873/0.4864, allocations: 5.78 MB / 488.5 MB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.4865, allocations: 4 kB / 488.5 MB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.4878, allocations: 287.6 kB / 488.8 MB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008662/0.4887, allocations: 314.5 kB / 489.1 MB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/0.4888, allocations: 39.98 kB / 489.1 MB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006495/0.4953, allocations: 6.98 MB / 496.1 MB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4953, allocations: 0 / 496.1 MB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006073/0.5014, allocations: 3.551 MB / 499.7 MB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.5029, allocations: 0.4941 MB / 0.4884 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007372/0.5036, allocations: 32 kB / 0.4885 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.5052, allocations: 87.92 kB / 0.4885 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.5055, allocations: 109.2 kB / 0.4886 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.5056, allocations: 43.98 kB / 0.4887 GB, free: 8.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003102/0.5087, allocations: 1.549 MB / 0.4902 GB, free: 6.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5088, allocations: 0 / 0.4902 GB, free: 6.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002874/0.5116, allocations: 0.6797 MB / 0.4909 GB, free: 5.898 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.000427/0.5121, allocations: 174.9 kB / 0.491 GB, free: 5.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006441/0.5185, allocations: 2.905 MB / 0.4939 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5186, allocations: 2 kB / 0.4939 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.5209, allocations: 1.433 MB / 0.4953 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/0.5243, allocations: 0.6107 MB / 0.4959 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.5374, allocations: 6.93 MB / 0.5026 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.5397, allocations: 2.603 MB / 0.5052 GB, free: 7.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008244/0.5405, allocations: 187.4 kB / 0.5054 GB, free: 6.922 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5405, allocations: 0 / 0.5054 GB, free: 6.922 MB / 430.1 MB Notification: Performance of Templates: time 0.2761/0.8166, allocations: 95.23 MB / 0.5984 GB, free: 92.98 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/jenkins1/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/jenkins1/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