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.001205/0.001205, allocations: 103.8 kB / 16.92 MB, free: 5.766 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.00128/0.00128, allocations: 191.5 kB / 17.85 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.342/1.342, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.001011, allocations: 42.77 kB / 300.6 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.09328, allocations: 49.45 MB / 350.1 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01779/0.1111, allocations: 16.63 MB / 366.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1627/0.2738, allocations: 5.425 MB / 372.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.2761, allocations: 101.2 kB / 372.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.279, allocations: 1.249 MB / 373.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004319/0.2834, allocations: 1.605 MB / 375.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.286, allocations: 1.045 MB / 376.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008299/0.2943, allocations: 5.09 MB / 381.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006007/0.3004, allocations: 4.31 MB / 385.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.3047, allocations: 2.171 MB / 387.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003647/0.3084, allocations: 2.593 MB / 390.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000986/0.3094, allocations: 0.6115 MB / 390.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.3114, allocations: 0.8466 MB / 391.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.3125, allocations: 1.419 MB / 393.2 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.3152, allocations: 2.637 MB / 395.8 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007102/0.3223, allocations: 8.031 MB / 403.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.3223, allocations: 0 / 403.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3224, allocations: 0 / 403.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002547/0.3226, allocations: 4 kB / 403.8 MB, free: 11.52 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.01368/0.3363, allocations: 5.371 MB / 409.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3364, allocations: 12.03 kB / 409.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005079/0.3415, allocations: 0.9884 MB / 410.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/0.3462, allocations: 2.885 MB / 413.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.3465, allocations: 308.7 kB / 413.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005506/0.347, allocations: 406.1 kB / 413.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008484/0.3555, allocations: 5.21 MB / 419 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.528e-05/0.3557, allocations: 11.92 kB / 419 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/0.356, allocations: 167 kB / 419.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.3562, allocations: 168 kB / 419.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007465/0.3637, allocations: 4.462 MB / 423.8 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02382/0.3875, allocations: 16.79 MB / 440.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007331/0.3949, allocations: 8.422 MB / 449 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/0.3976, allocations: 1.704 MB / 450.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007564/0.4052, allocations: 4.978 MB / 455.7 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.4053, allocations: 55.88 kB / 455.8 MB, free: 5.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 3.757e-06/0.4053, allocations: 3.938 kB / 455.8 MB, free: 5.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01093/0.4162, allocations: 6.138 MB / 461.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.4163, allocations: 68.72 kB / 462 MB, free: 15.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.4196, allocations: 2.282 MB / 464.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-05/0.4197, allocations: 49.7 kB / 464.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.4208, allocations: 1.843 MB / 466.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003848/0.4212, allocations: 0.5515 MB / 466.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005484/0.4218, allocations: 395.6 kB / 467.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.4218, allocations: 301.1 kB / 467.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4232, allocations: 0.8514 MB / 468.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.425, allocations: 1.559 MB / 469.8 MB, free: 7.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/0.4284, allocations: 2.557 MB / 472.3 MB, free: 4.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.4284, allocations: 8 kB / 472.4 MB, free: 4.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004372/0.4328, allocations: 2.88 MB / 475.2 MB, free: 1.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4328, allocations: 19.97 kB / 475.3 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.4328, allocations: 24 kB / 475.3 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.4332, allocations: 121.7 kB / 475.4 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/0.4351, allocations: 0.5381 MB / 475.9 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.4367, allocations: 2 MB / 477.9 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.4383, allocations: 111.8 kB / 478 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.4384, allocations: 95.98 kB / 478.1 MB, free: 14.5 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.001819/0.4403, allocations: 1.192 MB / 479.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/0.4406, allocations: 248.9 kB / 479.6 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.4446, allocations: 2.444 MB / 482 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.4446, allocations: 16 kB / 482 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.4446, allocations: 11.98 kB / 482 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.4447, allocations: 3.984 kB / 482 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008279/0.4529, allocations: 5.776 MB / 487.8 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.453, allocations: 4.031 kB / 487.8 MB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.4542, allocations: 291.6 kB / 488.1 MB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007628/0.455, allocations: 318.1 kB / 488.4 MB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.41e-05/0.4551, allocations: 39.98 kB / 488.5 MB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006126/0.4612, allocations: 6.965 MB / 495.4 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.4612, allocations: 8.016 kB / 495.4 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005207/0.4664, allocations: 3.558 MB / 499 MB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008923/0.4673, allocations: 0.4902 MB / 499.5 MB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.4677, allocations: 32 kB / 499.5 MB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.4688, allocations: 83.92 kB / 499.6 MB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/0.469, allocations: 113.2 kB / 499.7 MB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.132e-05/0.4691, allocations: 47.98 kB / 499.8 MB, free: 8.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002111/0.4712, allocations: 1.545 MB / 0.4895 GB, free: 6.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4712, allocations: 0 / 0.4895 GB, free: 6.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001997/0.4732, allocations: 0.6719 MB / 0.4902 GB, free: 5.961 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.0003082/0.4736, allocations: 181.2 kB / 0.4904 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005758/0.4793, allocations: 2.906 MB / 0.4932 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4793, allocations: 0 / 0.4932 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.4814, allocations: 1.434 MB / 0.4946 GB, free: 1.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.4838, allocations: 0.605 MB / 0.4952 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.4938, allocations: 6.959 MB / 0.502 GB, free: 9.773 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/0.496, allocations: 2.665 MB / 0.5046 GB, free: 7.082 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001751/0.4978, allocations: 0.5513 MB / 0.5051 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.4982, allocations: 163.4 kB / 0.5053 GB, free: 6.367 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4982, allocations: 4 kB / 0.5053 GB, free: 6.363 MB / 430.1 MB Notification: Performance of Templates: time 0.2047/0.7029, allocations: 32.26 MB / 0.5368 GB, free: 135.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