Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001506, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001167/0.001166, allocations: 88.14 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005432/0.0005433, allocations: 11.98 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.331, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.5086, allocations: 109.7 MB / 484.2 MB, free: 3.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/0.5091, allocations: 91.95 kB / 484.3 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5581/1.067, allocations: 80.54 MB / 0.5516 GB, free: 63.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.067, allocations: 0 / 0.5516 GB, free: 63.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003503/1.068, allocations: 79.92 kB / 0.5517 GB, free: 63.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01442/1.082, allocations: 3.509 MB / 0.5551 GB, free: 60.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.082, allocations: 12.03 kB / 0.5551 GB, free: 60.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005897/1.088, allocations: 0.7412 MB / 0.5558 GB, free: 59.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/1.099, allocations: 3.339 MB / 0.5591 GB, free: 56.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/1.1, allocations: 238.5 kB / 0.5593 GB, free: 55.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/1.101, allocations: 331.8 kB / 0.5596 GB, free: 55.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/1.112, allocations: 4.2 MB / 0.5637 GB, free: 51.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/1.112, allocations: 4 kB / 0.5637 GB, free: 51.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005312/1.113, allocations: 136 kB / 0.5639 GB, free: 51.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/1.113, allocations: 146.4 kB / 0.564 GB, free: 50.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/1.123, allocations: 3.434 MB / 0.5674 GB, free: 47.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03182/1.155, allocations: 13.9 MB / 0.5809 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009335/1.164, allocations: 6.679 MB / 0.5875 GB, free: 25.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008021/1.172, allocations: 3.39 MB / 0.5908 GB, free: 22.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/1.172, allocations: 59.81 kB / 0.5908 GB, free: 22.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 5.6e-06/1.172, allocations: 0 / 0.5908 GB, free: 22.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=155): time 0.01974/1.192, allocations: 6.467 MB / 0.5971 GB, free: 15.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.192, allocations: 72.72 kB / 0.5972 GB, free: 15.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003141/1.195, allocations: 1.524 MB / 0.5987 GB, free: 13.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003285/1.196, allocations: 57.7 kB / 0.5988 GB, free: 13.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009229/1.197, allocations: 1.337 MB / 0.6001 GB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005916/1.197, allocations: 0.5275 MB / 0.6006 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/1.197, allocations: 40 kB / 0.6006 GB, free: 11.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/1.197, allocations: 390.7 kB / 0.601 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/1.199, allocations: 0.7184 MB / 0.6017 GB, free: 10.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/1.201, allocations: 1.181 MB / 0.6028 GB, free: 9.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/1.204, allocations: 0.951 MB / 0.6038 GB, free: 8.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/1.204, allocations: 4 kB / 0.6038 GB, free: 8.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.006147/1.21, allocations: 2.577 MB / 0.6063 GB, free: 5.742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/1.21, allocations: 12 kB / 0.6063 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/1.21, allocations: 15.95 kB / 0.6063 GB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/1.212, allocations: 457 kB / 0.6068 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/1.214, allocations: 375.4 kB / 0.6071 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/1.228, allocations: 9.789 MB / 0.6167 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/1.23, allocations: 87.8 kB / 0.6168 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/1.23, allocations: 68.11 kB / 0.6168 GB, free: 10.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 183 * 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: 5 * 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: 5 {(1,100.0%) 7,(2,100.0%) 8,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00297/1.233, allocations: 1.02 MB / 0.6178 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006401/1.234, allocations: 189.7 kB / 0.618 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007541/1.242, allocations: 2.541 MB / 0.6205 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/1.242, allocations: 16 kB / 0.6205 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.082e-05/1.242, allocations: 8 kB / 0.6205 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.093e-05/1.242, allocations: 7.969 kB / 0.6205 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.257, allocations: 5.454 MB / 0.6258 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.257, allocations: 0 / 0.6258 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/1.259, allocations: 187.8 kB / 0.626 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/1.262, allocations: 0.6194 MB / 0.6266 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002661/1.262, allocations: 47.94 kB / 0.6267 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02151/1.284, allocations: 14.27 MB / 0.6406 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.284, allocations: 7.953 kB / 0.6406 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3009/1.584, allocations: 3.642 MB / 0.6442 GB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.586, allocations: 451.1 kB / 0.6446 GB, free: 90.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00069/1.587, allocations: 35.12 kB / 0.6446 GB, free: 90.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.589, allocations: 80.25 kB / 0.6447 GB, free: 90.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006329/1.59, allocations: 127.6 kB / 0.6448 GB, free: 90.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.59, allocations: 40.34 kB / 0.6449 GB, free: 90.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003037/1.593, allocations: 1.174 MB / 0.646 GB, free: 90.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.02e-07/1.593, allocations: 6.734 kB / 0.646 GB, free: 90.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004118/1.597, allocations: 0.6446 MB / 0.6467 GB, free: 90.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(3,100.0%) 9,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/1.598, allocations: 366.2 kB / 0.647 GB, free: 90.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01179/1.61, allocations: 2.653 MB / 0.6496 GB, free: 89.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/1.61, allocations: 0 / 0.6496 GB, free: 89.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008746/1.619, allocations: 2.003 MB / 0.6516 GB, free: 88.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00754/1.627, allocations: 0.5014 MB / 0.652 GB, free: 88.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/1.645, allocations: 7.219 MB / 0.6591 GB, free: 85.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004124/1.649, allocations: 2.33 MB / 0.6614 GB, free: 84.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008927/1.65, allocations: 134.5 kB / 0.6615 GB, free: 84.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/1.65, allocations: 0.5625 kB / 0.6615 GB, free: 84.66 MB / 410.7 MB Notification: Performance of Templates: time 0.2081/1.858, allocations: 137.3 MB / 0.7956 GB, free: 9.832 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches