Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 94.28 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2992, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01478/0.314, allocations: 14.59 MB / 389.2 MB, free: 34.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.3266, allocations: 5.078 MB / 394.2 MB, free: 29.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004804/0.3314, allocations: 87.62 kB / 394.3 MB, free: 29.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004579/0.3361, allocations: 0.9401 MB / 395.3 MB, free: 28.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007252/0.3433, allocations: 1.305 MB / 396.6 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.3467, allocations: 0.7322 MB / 397.3 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00906/0.3558, allocations: 4.954 MB / 402.2 MB, free: 21.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005049/0.3609, allocations: 2.686 MB / 404.9 MB, free: 18.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.3638, allocations: 1.58 MB / 406.5 MB, free: 16.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.3677, allocations: 2.038 MB / 408.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.3692, allocations: 252 kB / 408.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.3723, allocations: 459.8 kB / 409.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001755/0.3741, allocations: 0.9769 MB / 410.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00259/0.3767, allocations: 0.8979 MB / 411.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007938/0.3847, allocations: 6.572 MB / 417.7 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3847, allocations: 0 / 417.7 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3847, allocations: 3.938 kB / 417.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003946/0.3851, allocations: 4 kB / 417.7 MB, free: 5.531 MB / 298.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.01381/0.3989, allocations: 4.598 MB / 422.3 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.399, allocations: 12.03 kB / 422.3 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005867/0.4049, allocations: 0.9977 MB / 423.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00664/0.4116, allocations: 2.621 MB / 425.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.4118, allocations: 304.1 kB / 426.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006546/0.4125, allocations: 403.9 kB / 426.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.4226, allocations: 5.209 MB / 431.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.268e-05/0.4227, allocations: 0 / 431.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/0.4231, allocations: 164 kB / 432 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.4233, allocations: 172 kB / 432.2 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008591/0.4319, allocations: 4.451 MB / 436.6 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/0.4623, allocations: 16.93 MB / 453.5 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00759/0.4699, allocations: 8.429 MB / 462 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003039/0.473, allocations: 1.723 MB / 463.7 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009216/0.4823, allocations: 5.004 MB / 468.7 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.4824, allocations: 55.88 kB / 468.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=156): time 3.366e-06/0.4824, allocations: 3.938 kB / 468.8 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.01266/0.4951, allocations: 6.213 MB / 475 MB, free: 10.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4951, allocations: 68.72 kB / 475 MB, free: 10.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003342/0.4985, allocations: 2.298 MB / 477.3 MB, free: 7.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.4986, allocations: 49.7 kB / 477.4 MB, free: 7.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.5, allocations: 1.844 MB / 479.2 MB, free: 5.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.5004, allocations: 0.5508 MB / 479.8 MB, free: 5.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/0.5005, allocations: 44 kB / 479.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.5007, allocations: 386.2 kB / 480.2 MB, free: 4.836 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.5022, allocations: 0.8553 MB / 481.1 MB, free: 3.977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.5042, allocations: 1.568 MB / 482.6 MB, free: 2.078 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.506, allocations: 1.126 MB / 483.7 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.506, allocations: 8 kB / 483.8 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00457/0.5106, allocations: 2.9 MB / 486.7 MB, free: 14.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.5106, allocations: 16 kB / 486.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.5106, allocations: 24 kB / 486.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000306/0.5109, allocations: 137.5 kB / 486.8 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.5129, allocations: 0.55 MB / 487.4 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.5147, allocations: 1.818 MB / 489.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.5164, allocations: 123.9 kB / 489.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.5166, allocations: 95.98 kB / 489.4 MB, free: 11.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002083/0.5187, allocations: 1.204 MB / 490.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.519, allocations: 241.1 kB / 490.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004143/0.5232, allocations: 2.468 MB / 493.3 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.5232, allocations: 16 kB / 493.3 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5232, allocations: 4 kB / 493.3 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.5232, allocations: 7.969 kB / 493.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008895/0.5321, allocations: 5.83 MB / 499.2 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.5322, allocations: 8.031 kB / 499.2 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.5334, allocations: 291.6 kB / 499.5 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008223/0.5342, allocations: 326.2 kB / 499.8 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.5344, allocations: 39.98 kB / 499.8 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006412/0.5408, allocations: 6.386 MB / 0.4943 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5408, allocations: 11.92 kB / 0.4944 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/0.5468, allocations: 3.589 MB / 0.4979 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.548, allocations: 0.4941 MB / 0.4983 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/0.5482, allocations: 39.95 kB / 0.4984 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.5494, allocations: 100 kB / 0.4985 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.5496, allocations: 113.1 kB / 0.4986 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.384e-05/0.5498, allocations: 48.17 kB / 0.4986 GB, free: 5.191 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002502/0.5523, allocations: 1.552 MB / 0.5001 GB, free: 3.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5523, allocations: 3.938 kB / 0.5001 GB, free: 3.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002471/0.5547, allocations: 0.668 MB / 0.5008 GB, free: 2.953 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004326/0.5552, allocations: 179 kB / 0.501 GB, free: 2.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004137/0.5593, allocations: 2.277 MB / 0.5032 GB, free: 480 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5594, allocations: 0 / 0.5032 GB, free: 480 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2045/0.7638, allocations: 1.454 MB / 0.5046 GB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/0.7671, allocations: 0.5723 MB / 0.5052 GB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.7807, allocations: 8.353 MB / 0.5133 GB, free: 117.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/0.7833, allocations: 2.598 MB / 0.5159 GB, free: 116.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009955/0.7843, allocations: 187 kB / 0.516 GB, free: 116.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7843, allocations: 0 / 0.516 GB, free: 116.5 MB / 394.7 MB Notification: Performance of Templates: time 0.0875/0.8718, allocations: 94.8 MB / 0.6086 GB, free: 25.45 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches