Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001645/0.001645, allocations: 179.5 kB / 8.15 MB, free: 2.207 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.669/1.669, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001334/0.001333, allocations: 84.11 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.209e-05/1.233e-05, allocations: 0 / 314.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2666, allocations: 47.54 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.4553, allocations: 118.7 MB / 480.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/0.4557, allocations: 83.94 kB / 480.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.7427/1.198, allocations: 158.5 MB / 0.6241 GB, free: 15.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004486/1.199, allocations: 99.88 kB / 0.6242 GB, free: 15.89 MB / 394.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.01721/1.216, allocations: 3.942 MB / 0.6281 GB, free: 11.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.216, allocations: 8.031 kB / 0.6281 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008589/1.225, allocations: 0.9391 MB / 0.629 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/1.24, allocations: 3.818 MB / 0.6327 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/1.24, allocations: 131.9 kB / 0.6329 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/1.242, allocations: 235.9 kB / 0.6331 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0134/1.255, allocations: 3.847 MB / 0.6368 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/1.272, allocations: 4.496 MB / 0.6412 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/1.272, allocations: 7.922 kB / 0.6412 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000728/1.273, allocations: 4 kB / 0.6412 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/1.273, allocations: 172 kB / 0.6414 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2394/1.513, allocations: 16.3 MB / 0.6573 GB, free: 91.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/1.516, allocations: 1.295 MB / 0.6586 GB, free: 91.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004479/1.521, allocations: 1.678 MB / 0.6602 GB, free: 90.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01529/1.536, allocations: 5.178 MB / 0.6653 GB, free: 89.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/1.536, allocations: 57.28 kB / 0.6653 GB, free: 89.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 5.391e-06/1.536, allocations: 3.094 kB / 0.6653 GB, free: 89.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=194): time 0.01693/1.553, allocations: 5.208 MB / 0.6704 GB, free: 88.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/1.553, allocations: 70.22 kB / 0.6705 GB, free: 88.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004424/1.558, allocations: 1.677 MB / 0.6721 GB, free: 88.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004184/1.558, allocations: 25.7 kB / 0.6722 GB, free: 88.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008013/1.559, allocations: 1.395 MB / 0.6735 GB, free: 87.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009867/1.56, allocations: 0.6272 MB / 0.6741 GB, free: 87.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.56, allocations: 0 / 0.6741 GB, free: 87.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002175/1.56, allocations: 405.8 kB / 0.6745 GB, free: 87.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/1.563, allocations: 0.8982 MB / 0.6754 GB, free: 87.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00299/1.566, allocations: 1.576 MB / 0.6769 GB, free: 86.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/1.57, allocations: 1.232 MB / 0.6781 GB, free: 86.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.112e-05/1.57, allocations: 5.375 kB / 0.6781 GB, free: 86.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.008095/1.578, allocations: 2.76 MB / 0.6808 GB, free: 86.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.578, allocations: 8.875 kB / 0.6808 GB, free: 86.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-05/1.578, allocations: 22.31 kB / 0.6809 GB, free: 86.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/1.578, allocations: 125 kB / 0.681 GB, free: 86.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004867/1.583, allocations: 0.6 MB / 0.6816 GB, free: 86.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/1.586, allocations: 1.731 MB / 0.6833 GB, free: 84.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/1.588, allocations: 74.73 kB / 0.6833 GB, free: 84.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00045/1.588, allocations: 104.3 kB / 0.6834 GB, free: 84.93 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.0005748/1.589, allocations: 97.55 kB / 0.6835 GB, free: 84.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/1.59, allocations: 236.2 kB / 0.6838 GB, free: 84.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008128/1.598, allocations: 2.639 MB / 0.6863 GB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/1.598, allocations: 19.66 kB / 0.6864 GB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/1.598, allocations: 3.75 kB / 0.6864 GB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-05/1.598, allocations: 13.45 kB / 0.6864 GB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.614, allocations: 5.914 MB / 0.6921 GB, free: 83.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.615, allocations: 3.875 kB / 0.6921 GB, free: 83.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.618, allocations: 357.5 kB / 0.6925 GB, free: 83.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/1.619, allocations: 317.9 kB / 0.6928 GB, free: 83.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003389/1.62, allocations: 17.12 kB / 0.6928 GB, free: 83.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008474/1.628, allocations: 5.987 MB / 0.6987 GB, free: 79.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/1.628, allocations: 4.25 kB / 0.6987 GB, free: 79.73 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01004/1.638, allocations: 4.074 MB / 0.7026 GB, free: 78.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.64, allocations: 0.512 MB / 0.7031 GB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008213/1.641, allocations: 8.625 kB / 0.7031 GB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/1.644, allocations: 76.22 kB / 0.7032 GB, free: 78.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004468/1.644, allocations: 110.8 kB / 0.7033 GB, free: 78.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.644, allocations: 51.09 kB / 0.7034 GB, free: 78.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.002994/1.647, allocations: 1.233 MB / 0.7046 GB, free: 78.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00392/1.651, allocations: 0.6475 MB / 0.7052 GB, free: 78.57 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.0009515/1.652, allocations: 390.9 kB / 0.7056 GB, free: 78.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005862/1.658, allocations: 2.416 MB / 0.7079 GB, free: 78.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.658, allocations: 0 / 0.7079 GB, free: 78.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003877/1.662, allocations: 1.473 MB / 0.7094 GB, free: 77.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004146/1.666, allocations: 421 kB / 0.7098 GB, free: 77.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/1.686, allocations: 5.694 MB / 0.7153 GB, free: 76.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006032/1.692, allocations: 2.869 MB / 0.7181 GB, free: 75.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/1.692, allocations: 0 / 0.7181 GB, free: 75.95 MB / 410.7 MB Notification: Performance of Templates: time 0.1432/1.836, allocations: 89.4 MB / 0.8054 GB, free: 29.23 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches