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/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_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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 180.6 kB / 8.479 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.2 MB / 214.1 MB, free: 1.879 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 71.41 kB / 262.1 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.047e-06, allocations: 4 kB / 315 MB, free: 23.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 47.59 MB / 362.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/0.3985, allocations: 119 MB / 481.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.3988, allocations: 80.14 kB / 481.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.4989/0.8977, allocations: 158.5 MB / 0.6251 GB, free: 59.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003822/0.8981, allocations: 107.7 kB / 0.6252 GB, free: 59.13 MB / 410.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.01081/0.909, allocations: 3.933 MB / 0.6291 GB, free: 55.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.909, allocations: 8.031 kB / 0.6291 GB, free: 55.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005783/0.9148, allocations: 0.9352 MB / 0.63 GB, free: 54.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/0.925, allocations: 3.827 MB / 0.6337 GB, free: 50.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.9253, allocations: 132 kB / 0.6338 GB, free: 50.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.9268, allocations: 235.9 kB / 0.6341 GB, free: 50.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009704/0.9366, allocations: 3.847 MB / 0.6378 GB, free: 46.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.948, allocations: 4.492 MB / 0.6422 GB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.9482, allocations: 7.906 kB / 0.6422 GB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000868/0.949, allocations: 3.984 kB / 0.6422 GB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.9492, allocations: 176 kB / 0.6424 GB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0267/0.9759, allocations: 16.29 MB / 0.6583 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.9778, allocations: 1.29 MB / 0.6596 GB, free: 23.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/0.9803, allocations: 1.677 MB / 0.6612 GB, free: 21.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0085/0.9888, allocations: 5.186 MB / 0.6663 GB, free: 16.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.9889, allocations: 56.5 kB / 0.6663 GB, free: 16.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 5.36e-06/0.9889, allocations: 0 / 0.6663 GB, free: 16.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=194): time 0.01129/1, allocations: 5.212 MB / 0.6714 GB, free: 11.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/1, allocations: 73.41 kB / 0.6715 GB, free: 10.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/1.004, allocations: 1.664 MB / 0.6731 GB, free: 9.266 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/1.004, allocations: 29.7 kB / 0.6731 GB, free: 9.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006681/1.004, allocations: 1.48 MB / 0.6746 GB, free: 7.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004749/1.005, allocations: 0.6273 MB / 0.6752 GB, free: 7.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.005, allocations: 0 / 0.6752 GB, free: 7.094 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/1.005, allocations: 406.8 kB / 0.6756 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/1.006, allocations: 0.8911 MB / 0.6764 GB, free: 5.797 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/1.008, allocations: 1.584 MB / 0.678 GB, free: 3.902 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/1.01, allocations: 1.232 MB / 0.6792 GB, free: 2.668 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/1.01, allocations: 8 kB / 0.6792 GB, free: 2.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.1512/1.161, allocations: 2.88 MB / 0.682 GB, free: 101.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.161, allocations: 7.312 kB / 0.682 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-05/1.161, allocations: 23.38 kB / 0.682 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/1.161, allocations: 127.6 kB / 0.6822 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/1.164, allocations: 0.6008 MB / 0.6828 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/1.166, allocations: 1.732 MB / 0.6844 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/1.168, allocations: 69.16 kB / 0.6845 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000507/1.169, allocations: 105.4 kB / 0.6846 GB, free: 100.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 297 * 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.0007113/1.169, allocations: 172.4 kB / 0.6848 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007822/1.17, allocations: 237.3 kB / 0.685 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005191/1.175, allocations: 2.644 MB / 0.6876 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.176, allocations: 21.97 kB / 0.6876 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/1.176, allocations: 7.625 kB / 0.6876 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/1.176, allocations: 7.688 kB / 0.6876 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/1.187, allocations: 5.921 MB / 0.6934 GB, free: 99.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.187, allocations: 0 / 0.6934 GB, free: 99.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/1.188, allocations: 353.9 kB / 0.6937 GB, free: 99.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008367/1.189, allocations: 313.2 kB / 0.694 GB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/1.189, allocations: 20.62 kB / 0.6941 GB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005046/1.195, allocations: 5.99 MB / 0.6999 GB, free: 95.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.195, allocations: 1.406 kB / 0.6999 GB, free: 95.64 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005653/1.2, allocations: 4.075 MB / 0.7039 GB, free: 95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.201, allocations: 0.5115 MB / 0.7044 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000677/1.202, allocations: 14.73 kB / 0.7044 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.204, allocations: 66.38 kB / 0.7045 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/1.204, allocations: 117.6 kB / 0.7046 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.204, allocations: 56.42 kB / 0.7046 GB, free: 94.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.002189/1.206, allocations: 1.232 MB / 0.7058 GB, free: 94.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002616/1.209, allocations: 0.6407 MB / 0.7065 GB, free: 94.77 MB / 410.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.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005559/1.209, allocations: 397.9 kB / 0.7068 GB, free: 94.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003134/1.213, allocations: 2.411 MB / 0.7092 GB, free: 94.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/1.213, allocations: 0 / 0.7092 GB, free: 94.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/1.215, allocations: 1.47 MB / 0.7106 GB, free: 94.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.217, allocations: 414.7 kB / 0.711 GB, free: 94.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.23, allocations: 5.708 MB / 0.7166 GB, free: 92.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003238/1.234, allocations: 2.926 MB / 0.7195 GB, free: 92.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/1.234, allocations: 3.781 kB / 0.7195 GB, free: 92.14 MB / 410.7 MB Notification: Performance of Templates: time 0.05272/1.286, allocations: 31.25 MB / 0.75 GB, free: 90.36 MB / 410.7 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