Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009562/0.0009562, allocations: 105.2 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009043/0.0009044, allocations: 51.92 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.211, allocations: 50.46 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01273/0.2237, allocations: 17.03 MB / 424.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008801/0.2326, allocations: 5.617 MB / 429.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.236, allocations: 103.6 kB / 429.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004125/0.2401, allocations: 1.1 MB / 430.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005194/0.2454, allocations: 1.434 MB / 432.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.2486, allocations: 1.008 MB / 433.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007688/0.2563, allocations: 5.461 MB / 438.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004943/0.2613, allocations: 3.659 MB / 442.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/0.2643, allocations: 1.864 MB / 444.3 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003922/0.2683, allocations: 2.439 MB / 446.8 MB, free: 3.879 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.2693, allocations: 368 kB / 447.1 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.2711, allocations: 0.6169 MB / 447.8 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.2722, allocations: 1.148 MB / 448.9 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003153/0.2753, allocations: 2.371 MB / 451.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00756/0.2829, allocations: 7.874 MB / 459.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.283, allocations: 3.938 kB / 459.2 MB, free: 7.461 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.283, allocations: 0 / 459.2 MB, free: 7.461 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002402/0.2832, allocations: 0 / 459.2 MB, free: 7.461 MB / 330.7 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.01449/0.2977, allocations: 5.386 MB / 464.5 MB, free: 1.996 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2978, allocations: 8.031 kB / 464.5 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005343/0.3031, allocations: 1.022 MB / 465.6 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006387/0.3096, allocations: 2.835 MB / 468.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002929/0.3099, allocations: 312.2 kB / 468.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.3109, allocations: 399.9 kB / 469.1 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009156/0.3201, allocations: 5.213 MB / 474.3 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.966e-05/0.3202, allocations: 4 kB / 474.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003715/0.3206, allocations: 164 kB / 474.5 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/0.3208, allocations: 180 kB / 474.7 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009292/0.3301, allocations: 4.462 MB / 479.1 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03181/0.3619, allocations: 16.91 MB / 496 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007644/0.3696, allocations: 8.69 MB / 0.4929 GB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003681/0.3733, allocations: 2.007 MB / 0.4948 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2093/0.5827, allocations: 5.787 MB / 0.5005 GB, free: 87.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.5828, allocations: 51.02 kB / 0.5005 GB, free: 87.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 4.399e-06/0.5828, allocations: 0 / 0.5005 GB, free: 87.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01211/0.5949, allocations: 6.324 MB / 0.5067 GB, free: 85.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.5949, allocations: 68.53 kB / 0.5068 GB, free: 85.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/0.5978, allocations: 2.328 MB / 0.5091 GB, free: 84.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.913e-05/0.5979, allocations: 52.08 kB / 0.5091 GB, free: 84.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008972/0.5988, allocations: 1.854 MB / 0.5109 GB, free: 83.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.5991, allocations: 0.5421 MB / 0.5115 GB, free: 83.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006477/0.5997, allocations: 398 kB / 0.5118 GB, free: 82.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.5998, allocations: 303.7 kB / 0.5121 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.6013, allocations: 0.8568 MB / 0.513 GB, free: 82.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.6032, allocations: 1.579 MB / 0.5145 GB, free: 80.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.606, allocations: 2.582 MB / 0.517 GB, free: 79.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.606, allocations: 6.125 kB / 0.517 GB, free: 79.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00439/0.6104, allocations: 2.975 MB / 0.5199 GB, free: 77.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.6105, allocations: 16.03 kB / 0.5199 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.6105, allocations: 27.34 kB / 0.52 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004026/0.6109, allocations: 173.8 kB / 0.5201 GB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.6127, allocations: 0.5338 MB / 0.5207 GB, free: 77.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.6147, allocations: 2.266 MB / 0.5229 GB, free: 76.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.6167, allocations: 108.5 kB / 0.523 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.6169, allocations: 99.41 kB / 0.5231 GB, free: 75.97 MB / 378.7 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 (266): * Single equations (assignments): 264 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002064/0.6189, allocations: 1.198 MB / 0.5242 GB, free: 75.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004833/0.6194, allocations: 248.9 kB / 0.5245 GB, free: 74.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/0.6231, allocations: 2.54 MB / 0.527 GB, free: 72.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.6231, allocations: 16 kB / 0.527 GB, free: 72.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6231, allocations: 4 kB / 0.527 GB, free: 72.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.6231, allocations: 7.969 kB / 0.527 GB, free: 72.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007563/0.6307, allocations: 5.931 MB / 0.5328 GB, free: 66.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6307, allocations: 0 / 0.5328 GB, free: 66.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.6318, allocations: 287.8 kB / 0.5331 GB, free: 66.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000826/0.6327, allocations: 385.8 kB / 0.5334 GB, free: 65.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.14e-05/0.6328, allocations: 39.98 kB / 0.5335 GB, free: 65.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/0.6378, allocations: 6.828 MB / 0.5401 GB, free: 58.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6378, allocations: 4.031 kB / 0.5401 GB, free: 58.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02608/0.6639, allocations: 22.65 MB / 0.5622 GB, free: 35.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008001/0.6648, allocations: 0.5057 MB / 0.5627 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.665, allocations: 36 kB / 0.5628 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.6661, allocations: 79.98 kB / 0.5629 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/0.6664, allocations: 117.1 kB / 0.563 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-05/0.6665, allocations: 40 kB / 0.563 GB, free: 34.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001838/0.6683, allocations: 1.58 MB / 0.5645 GB, free: 32.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6683, allocations: 1.75 kB / 0.5645 GB, free: 32.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002687/0.671, allocations: 0.9285 MB / 0.5655 GB, free: 31.93 MB / 378.7 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 (129): * Single equations (assignments): 126 * 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,8,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.0003438/0.6713, allocations: 189.1 kB / 0.5656 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003145/0.6745, allocations: 2.322 MB / 0.5679 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6745, allocations: 0 / 0.5679 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.6763, allocations: 1.482 MB / 0.5694 GB, free: 27.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.6787, allocations: 0.5775 MB / 0.5699 GB, free: 27.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.69, allocations: 10.19 MB / 0.5799 GB, free: 17.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.6919, allocations: 2.725 MB / 0.5825 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001928/0.6939, allocations: 0.5552 MB / 0.5831 GB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/0.6943, allocations: 163.4 kB / 0.5832 GB, free: 13.58 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6943, allocations: 0 / 0.5832 GB, free: 13.58 MB / 378.7 MB Notification: Performance of Templates: time 0.05874/0.7531, allocations: 36.35 MB / 0.6187 GB, free: 9.543 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches