Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001596/0.001596, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008288/0.0008287, allocations: 92.06 kB / 292.1 MB, free: 6.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.248e-05, allocations: 0 / 350.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08192/0.08196, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2889/0.3709, allocations: 105 MB / 0.4951 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.3711, allocations: 83.48 kB / 0.4952 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1208/0.4919, allocations: 44.87 MB / 0.539 GB, free: 5.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4919, allocations: 0 / 0.539 GB, free: 5.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002071/0.4921, allocations: 63.92 kB / 0.5391 GB, free: 5.051 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005702/0.4978, allocations: 2.188 MB / 0.5412 GB, free: 2.809 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4979, allocations: 8.031 kB / 0.5412 GB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.4994, allocations: 328.8 kB / 0.5416 GB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/0.503, allocations: 1.542 MB / 0.5431 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.5032, allocations: 156 kB / 0.5432 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005814/0.5038, allocations: 199.9 kB / 0.5434 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005258/0.509, allocations: 2.64 MB / 0.546 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.55e-05/0.5091, allocations: 7.906 kB / 0.546 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/0.5094, allocations: 95.91 kB / 0.5461 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-05/0.5095, allocations: 87.92 kB / 0.5462 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/0.5134, allocations: 2.128 MB / 0.5482 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/0.5273, allocations: 8.437 MB / 0.5565 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.5295, allocations: 1.773 MB / 0.5582 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.5311, allocations: 0.9688 MB / 0.5592 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.5314, allocations: 142 kB / 0.5593 GB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.5314, allocations: 43.56 kB / 0.5593 GB, free: 15.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=107): time 3.006e-06/0.5314, allocations: 0 / 0.5593 GB, free: 15.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=123): time 0.0117/0.5431, allocations: 5.234 MB / 0.5645 GB, free: 10.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.5432, allocations: 64.41 kB / 0.5645 GB, free: 10.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.5454, allocations: 1.308 MB / 0.5658 GB, free: 9.012 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.5455, allocations: 49.64 kB / 0.5658 GB, free: 8.957 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006862/0.5462, allocations: 0.9759 MB / 0.5668 GB, free: 7.969 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.5465, allocations: 421.9 kB / 0.5672 GB, free: 7.551 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.5466, allocations: 28 kB / 0.5672 GB, free: 7.523 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5468, allocations: 365.9 kB / 0.5676 GB, free: 7.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.5479, allocations: 0.6911 MB / 0.5682 GB, free: 6.469 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.5492, allocations: 1.008 MB / 0.5692 GB, free: 5.332 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.5504, allocations: 0.8403 MB / 0.5701 GB, free: 4.496 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5505, allocations: 3.938 kB / 0.5701 GB, free: 4.492 MB / 442.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003836/0.5543, allocations: 2.283 MB / 0.5723 GB, free: 2.188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5543, allocations: 11.95 kB / 0.5723 GB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5544, allocations: 8 kB / 0.5723 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009892/0.5554, allocations: 403.2 kB / 0.5727 GB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.5567, allocations: 347.5 kB / 0.573 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1983/0.755, allocations: 4.628 MB / 0.5775 GB, free: 93.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.7564, allocations: 93.23 kB / 0.5776 GB, free: 93.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.7565, allocations: 53.16 kB / 0.5777 GB, free: 93.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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.0002575/0.7568, allocations: 182.9 kB / 0.5779 GB, free: 93.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.757, allocations: 160.9 kB / 0.578 GB, free: 93.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/0.7601, allocations: 2.098 MB / 0.5801 GB, free: 93.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.7602, allocations: 12.34 kB / 0.5801 GB, free: 93.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7602, allocations: 3.094 kB / 0.5801 GB, free: 93.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7602, allocations: 8.25 kB / 0.5801 GB, free: 93.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006546/0.7667, allocations: 4.517 MB / 0.5845 GB, free: 92.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.7668, allocations: 2.719 kB / 0.5845 GB, free: 92.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009711/0.7678, allocations: 241.4 kB / 0.5847 GB, free: 92.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.7689, allocations: 471.2 kB / 0.5852 GB, free: 92.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.822e-05/0.769, allocations: 31.39 kB / 0.5852 GB, free: 92.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004533/0.7736, allocations: 6.174 MB / 0.5912 GB, free: 88.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.7736, allocations: 6.406 kB / 0.5912 GB, free: 88.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/0.7775, allocations: 3.293 MB / 0.5945 GB, free: 88.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008534/0.7784, allocations: 406.9 kB / 0.5948 GB, free: 88.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.7786, allocations: 31 kB / 0.5949 GB, free: 88.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/0.7794, allocations: 83.8 kB / 0.5949 GB, free: 88.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.7796, allocations: 109.7 kB / 0.5951 GB, free: 88.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.087e-05/0.7797, allocations: 37.25 kB / 0.5951 GB, free: 88.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001313/0.7811, allocations: 1.007 MB / 0.5961 GB, free: 88.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7811, allocations: 0.75 kB / 0.5961 GB, free: 88.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001405/0.7825, allocations: 498 kB / 0.5965 GB, free: 88.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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.0004327/0.7829, allocations: 299.5 kB / 0.5968 GB, free: 88.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.7857, allocations: 2.205 MB / 0.599 GB, free: 87.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7857, allocations: 0 / 0.599 GB, free: 87.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.7875, allocations: 1.483 MB / 0.6004 GB, free: 87.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.7894, allocations: 418 kB / 0.6008 GB, free: 87.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.7947, allocations: 3.716 MB / 0.6045 GB, free: 86.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.7959, allocations: 1.867 MB / 0.6063 GB, free: 85.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001348/0.7972, allocations: 400.6 kB / 0.6067 GB, free: 85.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.7976, allocations: 109.5 kB / 0.6068 GB, free: 85.43 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7976, allocations: 0 / 0.6068 GB, free: 85.43 MB / 442.7 MB Notification: Performance of Templates: time 0.0425/0.8401, allocations: 26.12 MB / 0.6323 GB, free: 84.2 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches