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.001055/0.001055, allocations: 103.3 kB / 17.31 MB, free: 6.344 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.001296/0.001296, allocations: 182.5 kB / 18.21 MB, free: 5.527 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.547/1.547, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005368/0.0005369, allocations: 16 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01751/0.1324, allocations: 15.63 MB / 344.6 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.1438, allocations: 5.322 MB / 349.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.1473, allocations: 87.62 kB / 350 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00406/0.1514, allocations: 1.081 MB / 351.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.1578, allocations: 1.434 MB / 352.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.1616, allocations: 0.9592 MB / 353.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009336/0.171, allocations: 5.304 MB / 358.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006092/0.1771, allocations: 3.156 MB / 361.9 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.1805, allocations: 1.602 MB / 363.5 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004656/0.1852, allocations: 2.135 MB / 365.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.1871, allocations: 252 kB / 365.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.1904, allocations: 491.7 kB / 366.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00291/0.1934, allocations: 0.9845 MB / 367.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005805/0.1992, allocations: 2.182 MB / 369.6 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.2102, allocations: 7.564 MB / 377.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.2103, allocations: 0 / 377.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.2103, allocations: 0 / 377.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003068/0.2106, allocations: 0 / 377.1 MB, free: 3.309 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.1833/0.3939, allocations: 4.544 MB / 381.7 MB, free: 47.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.394, allocations: 9.625 kB / 381.7 MB, free: 47.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006211/0.4002, allocations: 0.9975 MB / 382.7 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00598/0.4062, allocations: 2.707 MB / 385.4 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/0.4065, allocations: 308.9 kB / 385.7 MB, free: 45.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009105/0.4075, allocations: 400.1 kB / 386.1 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.418, allocations: 5.231 MB / 391.3 MB, free: 43.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.965e-05/0.4181, allocations: 9.5 kB / 391.3 MB, free: 43.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.4185, allocations: 165 kB / 391.5 MB, free: 43.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00021/0.4187, allocations: 171.2 kB / 391.7 MB, free: 43.15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007812/0.4265, allocations: 4.481 MB / 396.1 MB, free: 41.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.448, allocations: 16.94 MB / 413.1 MB, free: 26.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.4533, allocations: 8.432 MB / 421.5 MB, free: 17.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/0.4558, allocations: 1.727 MB / 423.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006671/0.4624, allocations: 5.007 MB / 428.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.4625, allocations: 55.86 kB / 428.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=156): time 3.657e-06/0.4625, allocations: 4 kB / 428.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=159): time 0.01034/0.4729, allocations: 6.218 MB / 434.5 MB, free: 4.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.4729, allocations: 68.72 kB / 434.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.4757, allocations: 2.314 MB / 436.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.4758, allocations: 49.7 kB / 437 MB, free: 1.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009809/0.4768, allocations: 1.847 MB / 438.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000505/0.4773, allocations: 0.543 MB / 439.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.4776, allocations: 174 kB / 439.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4777, allocations: 313.1 kB / 439.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.4792, allocations: 0.8553 MB / 440.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.4812, allocations: 1.581 MB / 442.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/0.485, allocations: 2.59 MB / 444.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.485, allocations: 8 kB / 444.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004957/0.49, allocations: 2.922 MB / 447.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.49, allocations: 16.62 kB / 447.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/0.4901, allocations: 20 kB / 447.8 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.4904, allocations: 130.2 kB / 447.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.4924, allocations: 0.5577 MB / 448.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.4941, allocations: 1.816 MB / 450.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.4962, allocations: 123.9 kB / 450.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.4964, allocations: 95.98 kB / 450.5 MB, free: 3.172 MB / 334.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.002308/0.4987, allocations: 1.192 MB / 451.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005523/0.4993, allocations: 249 kB / 452 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/0.5039, allocations: 2.476 MB / 454.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.5039, allocations: 16 kB / 454.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.504, allocations: 8 kB / 454.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.504, allocations: 7.969 kB / 454.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.514, allocations: 5.844 MB / 460.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.514, allocations: 0 / 460.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.5154, allocations: 303.8 kB / 460.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009466/0.5163, allocations: 321.1 kB / 460.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.5165, allocations: 39.92 kB / 461 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00651/0.523, allocations: 6.39 MB / 467.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.523, allocations: 4.031 kB / 467.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006399/0.5294, allocations: 3.609 MB / 471 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/0.5309, allocations: 0.4979 MB / 471.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/0.5313, allocations: 43.94 kB / 471.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.5326, allocations: 87.92 kB / 471.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/0.533, allocations: 129.1 kB / 471.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.661e-05/0.5331, allocations: 43.98 kB / 471.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002794/0.5359, allocations: 1.568 MB / 473.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5359, allocations: 0 / 473.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002669/0.5385, allocations: 0.6719 MB / 474 MB, free: 11 MB / 366.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.0004372/0.539, allocations: 160.1 kB / 474.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004091/0.5431, allocations: 2.305 MB / 476.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.5431, allocations: 0 / 476.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.5456, allocations: 1.458 MB / 477.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/0.5492, allocations: 0.5871 MB / 478.5 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.5623, allocations: 8.786 MB / 487.3 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002473/0.5648, allocations: 2.665 MB / 490 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002082/0.5669, allocations: 0.5513 MB / 490.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/0.5674, allocations: 159.4 kB / 490.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5674, allocations: 3.938 kB / 490.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of Templates: time 0.05788/0.6253, allocations: 30.83 MB / 0.5093 GB, free: 11.33 MB / 414.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/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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches