Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 184.1 kB / 18.04 MB, free: 3.777 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.245/1.245, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.001088/0.001088, allocations: 78.38 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 12 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1919, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.2962, allocations: 102.9 MB / 479.9 MB, free: 9.617 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.2965, allocations: 87.95 kB / 480 MB, free: 9.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2444/0.5409, allocations: 40.97 MB / 0.5088 GB, free: 96.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5409, allocations: 0 / 0.5088 GB, free: 96.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001554/0.5411, allocations: 45.94 kB / 0.5088 GB, free: 96.34 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004545/0.5456, allocations: 2.195 MB / 0.5109 GB, free: 95.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5457, allocations: 10.56 kB / 0.5109 GB, free: 95.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008214/0.5465, allocations: 265.4 kB / 0.5112 GB, free: 95.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.549, allocations: 1.468 MB / 0.5126 GB, free: 94.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.754e-05/0.5491, allocations: 137.3 kB / 0.5128 GB, free: 94.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.5495, allocations: 178.5 kB / 0.5129 GB, free: 94.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/0.5531, allocations: 2.408 MB / 0.5153 GB, free: 93.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.429e-05/0.5532, allocations: 3.875 kB / 0.5153 GB, free: 93.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.5534, allocations: 79.66 kB / 0.5154 GB, free: 93.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.316e-05/0.5535, allocations: 77.61 kB / 0.5154 GB, free: 93.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.5564, allocations: 1.936 MB / 0.5173 GB, free: 92.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.5664, allocations: 7.503 MB / 0.5247 GB, free: 88.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.5681, allocations: 1.323 MB / 0.5259 GB, free: 88.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.5694, allocations: 0.8438 MB / 0.5268 GB, free: 88.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/0.5696, allocations: 133.8 kB / 0.5269 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.5697, allocations: 39.22 kB / 0.5269 GB, free: 87.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.537e-06/0.5697, allocations: 0 / 0.5269 GB, free: 87.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.008345/0.578, allocations: 5.044 MB / 0.5319 GB, free: 84.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.5781, allocations: 68.41 kB / 0.5319 GB, free: 84.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.5796, allocations: 1.335 MB / 0.5332 GB, free: 82.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.5797, allocations: 45.7 kB / 0.5333 GB, free: 82.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.5801, allocations: 0.8852 MB / 0.5341 GB, free: 81.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.5803, allocations: 362.4 kB / 0.5345 GB, free: 81.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.5803, allocations: 24 kB / 0.5345 GB, free: 81.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.5804, allocations: 353.9 kB / 0.5348 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007944/0.5812, allocations: 0.6389 MB / 0.5355 GB, free: 80.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.5821, allocations: 0.9337 MB / 0.5364 GB, free: 79.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.5839, allocations: 1.678 MB / 0.538 GB, free: 77.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.5839, allocations: 0 / 0.538 GB, free: 77.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003709/0.5876, allocations: 2.457 MB / 0.5404 GB, free: 75.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.5877, allocations: 8 kB / 0.5404 GB, free: 75.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.5877, allocations: 12.25 kB / 0.5404 GB, free: 75.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.5895, allocations: 0.774 MB / 0.5412 GB, free: 74.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.5903, allocations: 231.7 kB / 0.5414 GB, free: 74.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008947/0.5992, allocations: 8.573 MB / 0.5498 GB, free: 65.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.6005, allocations: 83.91 kB / 0.5499 GB, free: 65.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.6006, allocations: 52.09 kB / 0.5499 GB, free: 65.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001195/0.6018, allocations: 0.6301 MB / 0.5505 GB, free: 64.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/0.6022, allocations: 150 kB / 0.5507 GB, free: 64.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.605, allocations: 1.94 MB / 0.5526 GB, free: 62.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.6051, allocations: 12 kB / 0.5526 GB, free: 62.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6051, allocations: 0 / 0.5526 GB, free: 62.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6051, allocations: 7.984 kB / 0.5526 GB, free: 62.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005751/0.6108, allocations: 4.035 MB / 0.5565 GB, free: 58.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6109, allocations: 7.938 kB / 0.5565 GB, free: 58.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007586/0.6116, allocations: 195.7 kB / 0.5567 GB, free: 58.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.6128, allocations: 471 kB / 0.5572 GB, free: 57.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/0.6129, allocations: 23.98 kB / 0.5572 GB, free: 57.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004569/0.6174, allocations: 6.203 MB / 0.5633 GB, free: 51.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6175, allocations: 0 / 0.5633 GB, free: 51.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/0.6213, allocations: 2.842 MB / 0.566 GB, free: 48.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/0.6222, allocations: 367.1 kB / 0.5664 GB, free: 47.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.6226, allocations: 27.98 kB / 0.5664 GB, free: 47.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.6235, allocations: 71.94 kB / 0.5665 GB, free: 47.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.6237, allocations: 84.81 kB / 0.5666 GB, free: 47.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.6238, allocations: 34.17 kB / 0.5666 GB, free: 47.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001905/0.6257, allocations: 0.9269 MB / 0.5675 GB, free: 46.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6257, allocations: 4 kB / 0.5675 GB, free: 46.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002237/0.628, allocations: 472 kB / 0.5679 GB, free: 46.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.0005821/0.6286, allocations: 286.9 kB / 0.5682 GB, free: 45.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003247/0.6318, allocations: 2.083 MB / 0.5703 GB, free: 43.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6319, allocations: 0 / 0.5703 GB, free: 43.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.6336, allocations: 1.376 MB / 0.5716 GB, free: 42.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.6362, allocations: 365.9 kB / 0.5719 GB, free: 42.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.6436, allocations: 4.789 MB / 0.5766 GB, free: 37.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.6451, allocations: 1.693 MB / 0.5783 GB, free: 35.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001085/0.6462, allocations: 316.1 kB / 0.5786 GB, free: 35.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.6466, allocations: 95.41 kB / 0.5787 GB, free: 35.06 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6466, allocations: 0 / 0.5787 GB, free: 35.06 MB / 378.7 MB Notification: Performance of Templates: time 0.03745/0.684, allocations: 24.75 MB / 0.6028 GB, free: 10.32 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches