Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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 3.2.3+maint.om/package.mo", uses=false) 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 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.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_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 109.4 kB / 18.4 MB, free: 4.688 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.001542/0.001542, allocations: 183.1 kB / 19.33 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 43.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1165, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.2313/0.3478, allocations: 16.59 MB / 392.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3589, allocations: 5.453 MB / 397.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004238/0.3633, allocations: 86.88 kB / 398 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004611/0.3679, allocations: 1.264 MB / 399.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007116/0.375, allocations: 1.591 MB / 400.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.3786, allocations: 1.058 MB / 401.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009167/0.3878, allocations: 5.123 MB / 407 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007411/0.3952, allocations: 3.834 MB / 410.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.4, allocations: 2.191 MB / 413 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005832/0.4058, allocations: 2.6 MB / 415.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00224/0.4081, allocations: 0.6127 MB / 416.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/0.4121, allocations: 0.8284 MB / 417.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002655/0.4148, allocations: 1.416 MB / 418.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005857/0.4207, allocations: 2.644 MB / 421.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.432, allocations: 8.069 MB / 429.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4321, allocations: 0 / 429.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4321, allocations: 0 / 429.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002746/0.4324, allocations: 0 / 429.2 MB, free: 10.22 MB / 350.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.0176/0.45, allocations: 5.382 MB / 434.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.45, allocations: 11.97 kB / 434.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006281/0.4563, allocations: 0.9869 MB / 435.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006895/0.4633, allocations: 2.8 MB / 438.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/0.4636, allocations: 308.5 kB / 438.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.465, allocations: 399.9 kB / 439.1 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.4787, allocations: 5.209 MB / 444.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.4789, allocations: 7.906 kB / 444.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.4799, allocations: 160 kB / 444.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/0.4802, allocations: 172 kB / 444.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.4913, allocations: 4.443 MB / 449 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03186/0.5232, allocations: 16.59 MB / 465.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008592/0.5319, allocations: 8.41 MB / 474 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/0.5353, allocations: 1.698 MB / 475.7 MB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009284/0.5446, allocations: 4.947 MB / 480.7 MB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.5447, allocations: 47.88 kB / 480.7 MB, free: 4.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 4.538e-06/0.5447, allocations: 0 / 480.7 MB, free: 4.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01304/0.5578, allocations: 6.115 MB / 486.9 MB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.5579, allocations: 72.72 kB / 486.9 MB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/0.5623, allocations: 2.29 MB / 489.2 MB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002066/0.5626, allocations: 53.7 kB / 489.3 MB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.564, allocations: 1.844 MB / 491.1 MB, free: 10.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005343/0.5645, allocations: 0.5469 MB / 491.7 MB, free: 9.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007064/0.5652, allocations: 395.6 kB / 492 MB, free: 9.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.5653, allocations: 301.1 kB / 492.3 MB, free: 8.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.5668, allocations: 0.8436 MB / 493.2 MB, free: 7.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.5688, allocations: 1.564 MB / 494.7 MB, free: 6.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/0.5723, allocations: 2.551 MB / 497.3 MB, free: 3.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/0.5724, allocations: 4 kB / 497.3 MB, free: 3.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005088/0.5774, allocations: 2.884 MB / 0.4885 GB, free: 316 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.5775, allocations: 19.94 kB / 0.4885 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.932e-05/0.5776, allocations: 20 kB / 0.4885 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.5779, allocations: 121.7 kB / 0.4886 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.5799, allocations: 0.5463 MB / 0.4891 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.5818, allocations: 1.997 MB / 0.4911 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.5838, allocations: 115.9 kB / 0.4912 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.584, allocations: 96 kB / 0.4913 GB, free: 13.26 MB / 430.1 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 (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.00236/0.5864, allocations: 1.192 MB / 0.4925 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000691/0.5871, allocations: 248.9 kB / 0.4927 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.5917, allocations: 2.433 MB / 0.4951 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.5917, allocations: 16 kB / 0.4951 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.5917, allocations: 4 kB / 0.4951 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.5917, allocations: 7.969 kB / 0.4951 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.603, allocations: 5.768 MB / 0.5007 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.6031, allocations: 4 kB / 0.5007 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.6043, allocations: 279.6 kB / 0.501 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008709/0.6052, allocations: 325.8 kB / 0.5013 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.6054, allocations: 39.98 kB / 0.5014 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00669/0.6121, allocations: 6.97 MB / 0.5082 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6121, allocations: 0 / 0.5082 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005869/0.618, allocations: 3.54 MB / 0.5116 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.6192, allocations: 0.5057 MB / 0.5121 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006469/0.6199, allocations: 32 kB / 0.5121 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.6214, allocations: 79.92 kB / 0.5122 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/0.6217, allocations: 129 kB / 0.5123 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.6218, allocations: 47.98 kB / 0.5124 GB, free: 6.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00243/0.6242, allocations: 1.549 MB / 0.5139 GB, free: 5.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6242, allocations: 0 / 0.5139 GB, free: 5.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002349/0.6266, allocations: 0.6602 MB / 0.5145 GB, free: 4.688 MB / 446.1 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 (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.0003661/0.627, allocations: 175 kB / 0.5147 GB, free: 4.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003564/0.6305, allocations: 2.274 MB / 0.5169 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6306, allocations: 4.25 kB / 0.5169 GB, free: 2.207 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/0.6326, allocations: 1.444 MB / 0.5183 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/0.6353, allocations: 0.5904 MB / 0.5189 GB, free: 132 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.6462, allocations: 6.851 MB / 0.5256 GB, free: 9.223 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/0.6485, allocations: 2.599 MB / 0.5282 GB, free: 6.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007727/0.6492, allocations: 187.4 kB / 0.5283 GB, free: 6.418 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6493, allocations: 0 / 0.5283 GB, free: 6.418 MB / 462.1 MB Notification: Performance of Templates: time 0.3287/0.978, allocations: 95.59 MB / 0.6217 GB, free: 96.17 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches