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.001331/0.001331, allocations: 94.59 kB / 16.65 MB, free: 6.602 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.001393/0.001393, allocations: 172.7 kB / 17.56 MB, free: 6.203 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.367/1.367, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 7.938 kB / 301.4 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09731, allocations: 50.42 MB / 351.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01695/0.1143, allocations: 15.69 MB / 367.5 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1768/0.2912, allocations: 5.291 MB / 372.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.2938, allocations: 94.16 kB / 372.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003274/0.2971, allocations: 1.087 MB / 374 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.3019, allocations: 1.451 MB / 375.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.3043, allocations: 0.9538 MB / 376.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007123/0.3114, allocations: 5.284 MB / 381.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004569/0.316, allocations: 3.625 MB / 385.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.319, allocations: 1.605 MB / 386.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.3225, allocations: 2.129 MB / 389.1 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000664/0.3232, allocations: 255.9 kB / 389.3 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.3249, allocations: 483.7 kB / 389.8 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007893/0.3257, allocations: 0.9885 MB / 390.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002643/0.3283, allocations: 2.175 MB / 392.9 MB, free: 4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006981/0.3353, allocations: 7.584 MB / 400.5 MB, free: 14.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3354, allocations: 0 / 400.5 MB, free: 14.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3354, allocations: 0 / 400.5 MB, free: 14.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002137/0.3356, allocations: 2.656 kB / 400.5 MB, free: 14.67 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.01184/0.3475, allocations: 4.556 MB / 405.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3475, allocations: 8.031 kB / 405.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005769/0.3533, allocations: 1.004 MB / 406.1 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/0.3594, allocations: 2.811 MB / 408.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/0.3598, allocations: 312.6 kB / 409.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/0.3609, allocations: 403.3 kB / 409.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.3718, allocations: 5.236 MB / 414.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.215e-05/0.3719, allocations: 7.938 kB / 414.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/0.3723, allocations: 162.7 kB / 415 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.3725, allocations: 172 kB / 415.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008577/0.3811, allocations: 4.498 MB / 419.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0296/0.4107, allocations: 16.93 MB / 436.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007401/0.4181, allocations: 8.444 MB / 445.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/0.4212, allocations: 1.714 MB / 446.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008441/0.4297, allocations: 5.035 MB / 451.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.4298, allocations: 51.88 kB / 451.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 3.687e-06/0.4298, allocations: 0 / 451.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01209/0.4419, allocations: 6.251 MB / 458.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.442, allocations: 71.86 kB / 458.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004158/0.4461, allocations: 2.31 MB / 460.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.4464, allocations: 49.7 kB / 460.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.4482, allocations: 1.847 MB / 462.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006726/0.4489, allocations: 0.5506 MB / 462.9 MB, free: 15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.4492, allocations: 178 kB / 463.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4494, allocations: 301.1 kB / 463.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.4512, allocations: 0.8631 MB / 464.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/0.4537, allocations: 1.578 MB / 465.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004494/0.4582, allocations: 2.597 MB / 468.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-05/0.4583, allocations: 4 kB / 468.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005894/0.4642, allocations: 2.923 MB / 471.4 MB, free: 5.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.4642, allocations: 15.94 kB / 471.4 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.407e-05/0.4643, allocations: 27.94 kB / 471.4 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003864/0.4647, allocations: 130.2 kB / 471.5 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/0.4668, allocations: 0.546 MB / 472.1 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.4687, allocations: 1.823 MB / 473.9 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.4707, allocations: 119.9 kB / 474 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.4709, allocations: 99.98 kB / 474.1 MB, free: 2.988 MB / 382.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.002369/0.4733, allocations: 1.184 MB / 475.3 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006315/0.4739, allocations: 249 kB / 475.5 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00527/0.4792, allocations: 2.495 MB / 478 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.4792, allocations: 16 kB / 478.1 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.4793, allocations: 4 kB / 478.1 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.4793, allocations: 7.969 kB / 478.1 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.4906, allocations: 5.843 MB / 483.9 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.4907, allocations: 4 kB / 483.9 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.4921, allocations: 299.8 kB / 484.2 MB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009577/0.4931, allocations: 324.1 kB / 484.5 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.4932, allocations: 39.98 kB / 484.6 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007164/0.5004, allocations: 6.412 MB / 491 MB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.5004, allocations: 4 kB / 491 MB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006715/0.5071, allocations: 3.616 MB / 494.6 MB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.5086, allocations: 0.5018 MB / 495.1 MB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007383/0.5094, allocations: 40.05 kB / 495.1 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/0.5109, allocations: 95.94 kB / 495.2 MB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/0.5113, allocations: 113.1 kB / 495.3 MB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.5114, allocations: 43.98 kB / 495.4 MB, free: 13.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003643/0.5151, allocations: 1.568 MB / 497 MB, free: 11.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5151, allocations: 0 / 497 MB, free: 11.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003156/0.5182, allocations: 0.6797 MB / 497.6 MB, free: 10.8 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.0004879/0.5187, allocations: 174.9 kB / 497.8 MB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004235/0.523, allocations: 2.312 MB / 0.4884 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.523, allocations: 5.938 kB / 0.4884 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.5255, allocations: 1.463 MB / 0.4898 GB, free: 6.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/0.5297, allocations: 0.5494 MB / 0.4904 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/0.5448, allocations: 8.771 MB / 0.4989 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003451/0.5483, allocations: 2.665 MB / 0.5015 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002432/0.5507, allocations: 0.5552 MB / 0.5021 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006737/0.5514, allocations: 163.4 kB / 0.5022 GB, free: 9.996 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5515, allocations: 0 / 0.5022 GB, free: 9.996 MB / 430.1 MB Notification: Performance of Templates: time 0.2322/0.7836, allocations: 30.84 MB / 0.5323 GB, free: 147 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