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.001213/0.001213, allocations: 109.2 kB / 17.73 MB, free: 5.316 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.001435/0.001436, allocations: 188.2 kB / 18.66 MB, free: 4.387 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.538/1.538, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001305/0.001305, allocations: 47.94 kB / 328.5 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1631, allocations: 46.62 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.2759/0.439, allocations: 16.58 MB / 391.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.4516, allocations: 5.445 MB / 397.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005481/0.4572, allocations: 88.34 kB / 397.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004558/0.4618, allocations: 1.254 MB / 398.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007015/0.4688, allocations: 1.595 MB / 400.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.472, allocations: 1.064 MB / 401.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008088/0.4801, allocations: 5.111 MB / 406.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005057/0.4852, allocations: 3.841 MB / 410.1 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004303/0.4895, allocations: 2.165 MB / 412.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005512/0.495, allocations: 2.601 MB / 414.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.4963, allocations: 0.6141 MB / 415.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.4991, allocations: 0.8305 MB / 416.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.5005, allocations: 1.42 MB / 417.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003665/0.5041, allocations: 2.635 MB / 420.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009076/0.5132, allocations: 8.101 MB / 428.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5133, allocations: 4 kB / 428.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5133, allocations: 0 / 428.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001846/0.5135, allocations: 4 kB / 428.5 MB, free: 10.16 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.01304/0.5265, allocations: 5.486 MB / 434 MB, free: 4.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.5266, allocations: 12.03 kB / 434 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005062/0.5316, allocations: 1.009 MB / 435 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005122/0.5368, allocations: 2.818 MB / 437.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.537, allocations: 296.5 kB / 438.1 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005746/0.5376, allocations: 407.9 kB / 438.5 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009605/0.5472, allocations: 5.217 MB / 443.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-05/0.5473, allocations: 3.953 kB / 443.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003644/0.5477, allocations: 168 kB / 443.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.5479, allocations: 168 kB / 444.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007951/0.5558, allocations: 4.439 MB / 448.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.582, allocations: 16.63 MB / 465.1 MB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00749/0.5895, allocations: 8.433 MB / 473.6 MB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002623/0.5922, allocations: 1.69 MB / 475.3 MB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007437/0.5996, allocations: 4.956 MB / 480.2 MB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.5997, allocations: 55.88 kB / 480.3 MB, free: 4.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 2.985e-06/0.5997, allocations: 0 / 480.3 MB, free: 4.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01137/0.6111, allocations: 6.165 MB / 486.4 MB, free: 14.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.6112, allocations: 68.72 kB / 486.5 MB, free: 14.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/0.6144, allocations: 2.29 MB / 488.8 MB, free: 11.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.171e-05/0.6145, allocations: 57.7 kB / 488.9 MB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.6159, allocations: 1.901 MB / 490.8 MB, free: 9.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004545/0.6163, allocations: 0.5694 MB / 491.3 MB, free: 9.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005724/0.6169, allocations: 399.8 kB / 491.7 MB, free: 8.758 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.617, allocations: 305.1 kB / 492 MB, free: 8.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.6184, allocations: 0.8397 MB / 492.9 MB, free: 7.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.6203, allocations: 1.564 MB / 494.4 MB, free: 5.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003475/0.6238, allocations: 2.547 MB / 497 MB, free: 2.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.188e-05/0.6239, allocations: 8 kB / 497 MB, free: 2.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004746/0.6286, allocations: 2.901 MB / 499.9 MB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.6287, allocations: 20.03 kB / 499.9 MB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.6287, allocations: 24 kB / 499.9 MB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.629, allocations: 121.7 kB / 0.4883 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/0.631, allocations: 0.5382 MB / 0.4888 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.6327, allocations: 1.986 MB / 0.4908 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.6344, allocations: 119.9 kB / 0.4909 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.6345, allocations: 95.98 kB / 0.491 GB, free: 12.87 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.0023/0.6368, allocations: 1.196 MB / 0.4922 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/0.6373, allocations: 258.3 kB / 0.4924 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/0.6414, allocations: 2.433 MB / 0.4948 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.6414, allocations: 16 kB / 0.4948 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.6414, allocations: 8 kB / 0.4948 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.6415, allocations: 11.91 kB / 0.4948 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008928/0.6504, allocations: 5.764 MB / 0.5004 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.6504, allocations: 4 kB / 0.5004 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.6517, allocations: 283.6 kB / 0.5007 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007906/0.6525, allocations: 322.3 kB / 0.501 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.6526, allocations: 47.92 kB / 0.5011 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006679/0.6593, allocations: 6.956 MB / 0.5079 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.6593, allocations: 4 kB / 0.5079 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005636/0.6649, allocations: 3.557 MB / 0.5113 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009648/0.6659, allocations: 0.507 MB / 0.5118 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.6662, allocations: 40 kB / 0.5119 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.6673, allocations: 79.92 kB / 0.512 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/0.6676, allocations: 121.1 kB / 0.5121 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.6677, allocations: 47.98 kB / 0.5121 GB, free: 6.492 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002244/0.67, allocations: 1.549 MB / 0.5136 GB, free: 4.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.67, allocations: 0 / 0.5136 GB, free: 4.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002197/0.6722, allocations: 0.668 MB / 0.5143 GB, free: 4.262 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.0003684/0.6726, allocations: 186.8 kB / 0.5145 GB, free: 4.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003739/0.6763, allocations: 2.274 MB / 0.5167 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.6763, allocations: 0 / 0.5167 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.6785, allocations: 1.441 MB / 0.5181 GB, free: 300 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.6808, allocations: 0.5939 MB / 0.5187 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.6915, allocations: 7.005 MB / 0.5255 GB, free: 8.633 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002212/0.6937, allocations: 2.661 MB / 0.5281 GB, free: 5.949 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001744/0.6955, allocations: 0.5552 MB / 0.5286 GB, free: 5.391 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.6959, allocations: 163.4 kB / 0.5288 GB, free: 5.23 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6959, allocations: 4 kB / 0.5288 GB, free: 5.227 MB / 462.1 MB Notification: Performance of Templates: time 0.2627/0.9587, allocations: 30.82 MB / 0.5589 GB, free: 148.4 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