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.001422/0.001421, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001389/0.001389, allocations: 187 kB / 18.66 MB, free: 4.395 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.631/1.631, allocations: 205.1 MB / 224.5 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.001124/0.001124, allocations: 55.92 kB / 328.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09759/0.09872, allocations: 46.61 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.2531/0.3519, allocations: 16.58 MB / 391.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.3627, allocations: 5.457 MB / 397.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003761/0.3665, allocations: 87.38 kB / 397.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.3707, allocations: 1.26 MB / 398.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005892/0.3766, allocations: 1.594 MB / 400.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.3797, allocations: 1.061 MB / 401.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008258/0.388, allocations: 5.115 MB / 406.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005155/0.3932, allocations: 3.844 MB / 410.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003851/0.3971, allocations: 2.187 MB / 412.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004845/0.4019, allocations: 2.598 MB / 414.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.4032, allocations: 0.613 MB / 415.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.4057, allocations: 0.8277 MB / 416.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.407, allocations: 1.42 MB / 417.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003409/0.4104, allocations: 2.635 MB / 420.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00879/0.4192, allocations: 8.085 MB / 428.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4192, allocations: 0 / 428.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4192, allocations: 0 / 428.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001886/0.4194, allocations: 4 kB / 428.5 MB, free: 10.19 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.01409/0.4335, allocations: 5.367 MB / 433.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4336, allocations: 12.03 kB / 433.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/0.4388, allocations: 0.9908 MB / 434.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00562/0.4444, allocations: 2.804 MB / 437.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.4447, allocations: 300.5 kB / 438 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006753/0.4454, allocations: 403.9 kB / 438.4 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009327/0.4547, allocations: 5.209 MB / 443.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.946e-05/0.4548, allocations: 7.906 kB / 443.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003819/0.4552, allocations: 168 kB / 443.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.4554, allocations: 168 kB / 443.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008301/0.4637, allocations: 4.443 MB / 448.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03112/0.4948, allocations: 16.58 MB / 465 MB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008865/0.5038, allocations: 8.425 MB / 473.4 MB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003368/0.5072, allocations: 1.698 MB / 475.1 MB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009964/0.5172, allocations: 4.943 MB / 480 MB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.5173, allocations: 55.88 kB / 480.1 MB, free: 4.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 2.976e-06/0.5173, allocations: 0 / 480.1 MB, free: 4.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01303/0.5303, allocations: 6.107 MB / 486.2 MB, free: 14.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.5304, allocations: 72.7 kB / 486.3 MB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/0.5353, allocations: 2.286 MB / 488.5 MB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.5355, allocations: 57.7 kB / 488.6 MB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.537, allocations: 1.848 MB / 490.4 MB, free: 10.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005807/0.5376, allocations: 0.543 MB / 491 MB, free: 9.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008198/0.5384, allocations: 395.6 kB / 491.4 MB, free: 9.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5386, allocations: 305.1 kB / 491.7 MB, free: 8.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.5403, allocations: 0.8436 MB / 492.5 MB, free: 7.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.5424, allocations: 1.56 MB / 494.1 MB, free: 6.082 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/0.5464, allocations: 2.551 MB / 496.6 MB, free: 3.211 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.644e-05/0.5464, allocations: 8 kB / 496.6 MB, free: 3.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00545/0.5519, allocations: 2.884 MB / 499.5 MB, free: 292 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.552, allocations: 19.94 kB / 499.5 MB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-05/0.552, allocations: 24 kB / 499.6 MB, free: 248 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003459/0.5524, allocations: 121.7 kB / 499.7 MB, free: 120 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.5544, allocations: 0.5382 MB / 0.4885 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.5564, allocations: 1.993 MB / 0.4904 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.5583, allocations: 115.9 kB / 0.4906 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.5585, allocations: 99.98 kB / 0.4906 GB, free: 13.24 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.002204/0.5607, allocations: 1.192 MB / 0.4918 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006658/0.5614, allocations: 248.9 kB / 0.492 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/0.566, allocations: 2.429 MB / 0.4944 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.566, allocations: 20 kB / 0.4944 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.566, allocations: 4 kB / 0.4944 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.5661, allocations: 7.969 kB / 0.4945 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.5775, allocations: 5.772 MB / 0.5001 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.5776, allocations: 0 / 0.5001 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.5789, allocations: 283.6 kB / 0.5004 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009121/0.5799, allocations: 318.4 kB / 0.5007 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.58, allocations: 43.98 kB / 0.5007 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007143/0.5872, allocations: 6.959 MB / 0.5075 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5872, allocations: 4 kB / 0.5075 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006191/0.5934, allocations: 3.54 MB / 0.511 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.5947, allocations: 0.494 MB / 0.5114 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006715/0.5954, allocations: 43.94 kB / 0.5115 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.597, allocations: 79.92 kB / 0.5116 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/0.5973, allocations: 121.1 kB / 0.5117 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.5975, allocations: 44 kB / 0.5117 GB, free: 6.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003265/0.6007, allocations: 1.552 MB / 0.5132 GB, free: 5.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6007, allocations: 0 / 0.5132 GB, free: 5.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003026/0.6038, allocations: 0.668 MB / 0.5139 GB, free: 4.672 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.0005165/0.6043, allocations: 179 kB / 0.5141 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00471/0.609, allocations: 2.266 MB / 0.5163 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6091, allocations: 320 / 0.5163 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002539/0.6116, allocations: 1.452 MB / 0.5177 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004169/0.6158, allocations: 0.5951 MB / 0.5183 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.6303, allocations: 6.88 MB / 0.525 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003792/0.6341, allocations: 2.661 MB / 0.5276 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00227/0.6364, allocations: 0.5513 MB / 0.5281 GB, free: 5.941 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/0.6372, allocations: 159.4 kB / 0.5283 GB, free: 5.785 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6372, allocations: 4 kB / 0.5283 GB, free: 5.781 MB / 462.1 MB Notification: Performance of Templates: time 0.2504/0.8876, allocations: 30.82 MB / 0.5584 GB, free: 148.6 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/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","/var/lib/jenkins/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