Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 196.7 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007679/0.0007675, allocations: 92.62 kB / 297.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002443, allocations: 8 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2092, allocations: 51.28 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.3302, allocations: 105.4 MB / 0.5027 GB, free: 2.094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.3305, allocations: 87.95 kB / 0.5028 GB, free: 2.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2821/0.6127, allocations: 41.62 MB / 0.5434 GB, free: 70.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6127, allocations: 4 kB / 0.5435 GB, free: 70.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002217/0.613, allocations: 51.92 kB / 0.5435 GB, free: 70.36 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005142/0.6181, allocations: 2.19 MB / 0.5456 GB, free: 68.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6182, allocations: 8.031 kB / 0.5456 GB, free: 68.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.6196, allocations: 286 kB / 0.5459 GB, free: 67.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/0.6228, allocations: 1.435 MB / 0.5473 GB, free: 66.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.6229, allocations: 144.1 kB / 0.5475 GB, free: 66.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005463/0.6235, allocations: 192.3 kB / 0.5476 GB, free: 66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004623/0.6281, allocations: 2.419 MB / 0.55 GB, free: 63.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.529e-05/0.6282, allocations: 4.125 kB / 0.55 GB, free: 63.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.6285, allocations: 87.92 kB / 0.5501 GB, free: 63.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.389e-05/0.6286, allocations: 83.69 kB / 0.5502 GB, free: 63.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003142/0.6317, allocations: 1.869 MB / 0.552 GB, free: 61.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.6433, allocations: 7.852 MB / 0.5597 GB, free: 53.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.645, allocations: 1.29 MB / 0.5609 GB, free: 52.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.6462, allocations: 0.8269 MB / 0.5617 GB, free: 51.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.6465, allocations: 130 kB / 0.5619 GB, free: 51.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.6466, allocations: 43.56 kB / 0.5619 GB, free: 51.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 3.406e-06/0.6466, allocations: 7.938 kB / 0.5619 GB, free: 51.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.01063/0.6572, allocations: 5.586 MB / 0.5674 GB, free: 45.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.6573, allocations: 64.41 kB / 0.5674 GB, free: 45.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.659, allocations: 1.267 MB / 0.5687 GB, free: 43.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.415e-05/0.6591, allocations: 49.64 kB / 0.5687 GB, free: 43.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.6596, allocations: 0.9084 MB / 0.5696 GB, free: 42.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.6598, allocations: 406.1 kB / 0.57 GB, free: 42.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.6599, allocations: 28 kB / 0.57 GB, free: 42.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.66, allocations: 358 kB / 0.5704 GB, free: 42.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008837/0.6609, allocations: 0.652 MB / 0.571 GB, free: 41.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/0.6618, allocations: 0.9912 MB / 0.572 GB, free: 40.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.6638, allocations: 1.742 MB / 0.5737 GB, free: 38.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.6638, allocations: 4 kB / 0.5737 GB, free: 38.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003276/0.6671, allocations: 2.197 MB / 0.5758 GB, free: 36.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.6671, allocations: 8 kB / 0.5758 GB, free: 36.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.6672, allocations: 15.98 kB / 0.5758 GB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/0.668, allocations: 415.3 kB / 0.5762 GB, free: 35.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.6692, allocations: 343.5 kB / 0.5766 GB, free: 35.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.6729, allocations: 4.645 MB / 0.5811 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.674, allocations: 87.83 kB / 0.5812 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.6741, allocations: 55.98 kB / 0.5812 GB, free: 30.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009996/0.6751, allocations: 0.6028 MB / 0.5818 GB, free: 29.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.6754, allocations: 146.2 kB / 0.582 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.6783, allocations: 1.929 MB / 0.5838 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.6783, allocations: 23.86 kB / 0.5839 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6783, allocations: 8 kB / 0.5839 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.6784, allocations: 7.922 kB / 0.5839 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006111/0.6845, allocations: 4.073 MB / 0.5879 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6845, allocations: 4 kB / 0.5879 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008992/0.6854, allocations: 219.7 kB / 0.5881 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.6865, allocations: 479.1 kB / 0.5885 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.918e-05/0.6866, allocations: 31.98 kB / 0.5886 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00461/0.6912, allocations: 6.183 MB / 0.5946 GB, free: 16.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6913, allocations: 4.031 kB / 0.5946 GB, free: 16.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.6953, allocations: 2.829 MB / 0.5974 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007588/0.6961, allocations: 367.1 kB / 0.5977 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/0.6965, allocations: 28 kB / 0.5977 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009199/0.6975, allocations: 71.92 kB / 0.5978 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.6977, allocations: 84.88 kB / 0.5979 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/0.6978, allocations: 35.98 kB / 0.5979 GB, free: 12.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001259/0.699, allocations: 0.8643 MB / 0.5988 GB, free: 11.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.699, allocations: 7.938 kB / 0.5988 GB, free: 11.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001594/0.7006, allocations: 459.9 kB / 0.5992 GB, free: 11.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (99): * Single equations (assignments): 95 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004955/0.7011, allocations: 301.1 kB / 0.5995 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002666/0.7038, allocations: 2.091 MB / 0.6015 GB, free: 8.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7038, allocations: 0 / 0.6015 GB, free: 8.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.7055, allocations: 1.379 MB / 0.6029 GB, free: 7.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.7079, allocations: 400.2 kB / 0.6033 GB, free: 7.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/0.7141, allocations: 4.929 MB / 0.6081 GB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.7153, allocations: 1.646 MB / 0.6097 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001188/0.7165, allocations: 340.9 kB / 0.61 GB, free: 160 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.7169, allocations: 99.42 kB / 0.6101 GB, free: 60 kB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.7169, allocations: 0 / 0.6101 GB, free: 60 kB / 378.7 MB Notification: Performance of Templates: time 0.04148/0.7583, allocations: 23.84 MB / 0.6334 GB, free: 8.41 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches