Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001891/0.001891, allocations: 179.8 kB / 17.01 MB, free: 5.121 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.939/1.939, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0009116/0.000912, allocations: 92.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005965/0.0005965, allocations: 4 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3376, allocations: 47.56 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.4795, allocations: 109.1 MB / 484.9 MB, free: 3.504 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004186/0.48, allocations: 91.95 kB / 485 MB, free: 3.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.405/0.885, allocations: 51.98 MB / 0.5244 GB, free: 93.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.8851, allocations: 0 / 0.5244 GB, free: 93.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000341/0.8855, allocations: 59.94 kB / 0.5245 GB, free: 93.29 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008694/0.8942, allocations: 2.763 MB / 0.5272 GB, free: 90.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.8943, allocations: 8.031 kB / 0.5272 GB, free: 90.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.8963, allocations: 328.3 kB / 0.5275 GB, free: 90.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00583/0.9022, allocations: 1.779 MB / 0.5292 GB, free: 88.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.9024, allocations: 150.8 kB / 0.5294 GB, free: 88.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/0.9034, allocations: 215.8 kB / 0.5296 GB, free: 87.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008292/0.9117, allocations: 2.677 MB / 0.5322 GB, free: 85.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/0.912, allocations: 7.906 kB / 0.5322 GB, free: 85.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007881/0.9128, allocations: 80 kB / 0.5323 GB, free: 85.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.913, allocations: 91.94 kB / 0.5324 GB, free: 85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00575/0.9187, allocations: 2.19 MB / 0.5345 GB, free: 82.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/0.9395, allocations: 8.321 MB / 0.5426 GB, free: 74.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.9428, allocations: 1.684 MB / 0.5443 GB, free: 72.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/0.9432, allocations: 133.4 kB / 0.5444 GB, free: 72.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.9433, allocations: 63.44 kB / 0.5445 GB, free: 72.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 4.809e-06/0.9433, allocations: 0 / 0.5445 GB, free: 72.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.01522/0.9585, allocations: 6.666 MB / 0.551 GB, free: 65.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.9586, allocations: 68.72 kB / 0.551 GB, free: 65.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/0.9625, allocations: 1.893 MB / 0.5529 GB, free: 63.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003994/0.963, allocations: 49.7 kB / 0.5529 GB, free: 63.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007283/0.9637, allocations: 1.095 MB / 0.554 GB, free: 62.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005493/0.9643, allocations: 464.2 kB / 0.5544 GB, free: 61.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.9644, allocations: 24 kB / 0.5545 GB, free: 61.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.9645, allocations: 369.9 kB / 0.5548 GB, free: 61.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.9657, allocations: 0.773 MB / 0.5556 GB, free: 60.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.9669, allocations: 1.017 MB / 0.5566 GB, free: 59.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.9682, allocations: 0.9043 MB / 0.5574 GB, free: 58.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.9682, allocations: 4 kB / 0.5574 GB, free: 58.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005227/0.9734, allocations: 2.835 MB / 0.5602 GB, free: 55.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.9735, allocations: 8 kB / 0.5602 GB, free: 55.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.9736, allocations: 8 kB / 0.5602 GB, free: 55.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002122/0.9757, allocations: 0.8424 MB / 0.5611 GB, free: 55.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.9771, allocations: 271.5 kB / 0.5613 GB, free: 54.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.9887, allocations: 9.651 MB / 0.5707 GB, free: 44.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.9909, allocations: 99.95 kB / 0.5708 GB, free: 44.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/0.9911, allocations: 56.36 kB / 0.5709 GB, free: 44.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001934/0.9931, allocations: 0.7472 MB / 0.5716 GB, free: 43.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000713/0.9938, allocations: 201.5 kB / 0.5718 GB, free: 43.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/0.9985, allocations: 2.587 MB / 0.5743 GB, free: 41.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.9986, allocations: 15.98 kB / 0.5743 GB, free: 41.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.9986, allocations: 16 kB / 0.5744 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.9986, allocations: 3.984 kB / 0.5744 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.009, allocations: 5.094 MB / 0.5793 GB, free: 35.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/1.009, allocations: 7.984 kB / 0.5794 GB, free: 35.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.01, allocations: 215.9 kB / 0.5796 GB, free: 35.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/1.012, allocations: 0.7067 MB / 0.5802 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/1.013, allocations: 35.97 kB / 0.5803 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008174/1.021, allocations: 8.695 MB / 0.5888 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.021, allocations: 8.094 kB / 0.5888 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/1.027, allocations: 3.718 MB / 0.5924 GB, free: 22.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.028, allocations: 482.3 kB / 0.5929 GB, free: 21.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/1.029, allocations: 31.98 kB / 0.5929 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.03, allocations: 91.91 kB / 0.593 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/1.03, allocations: 109.1 kB / 0.5931 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.03, allocations: 39.98 kB / 0.5931 GB, free: 21.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002175/1.033, allocations: 1.472 MB / 0.5946 GB, free: 19.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.033, allocations: 4 kB / 0.5946 GB, free: 19.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002881/1.036, allocations: 0.5936 MB / 0.5952 GB, free: 19.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001646/1.037, allocations: 0.6096 MB / 0.5957 GB, free: 18.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004465/1.042, allocations: 2.522 MB / 0.5982 GB, free: 16.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.042, allocations: 0 / 0.5982 GB, free: 16.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002696/1.044, allocations: 1.738 MB / 0.5999 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/1.048, allocations: 419.2 kB / 0.6003 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/1.059, allocations: 6.066 MB / 0.6062 GB, free: 7.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/1.061, allocations: 2.002 MB / 0.6082 GB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002007/1.063, allocations: 407.8 kB / 0.6086 GB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/1.063, allocations: 127.4 kB / 0.6087 GB, free: 5.207 MB / 378.7 MB Notification: Performance of SimCode: time 3.246e-06/1.063, allocations: 0 / 0.6087 GB, free: 5.207 MB / 378.7 MB Notification: Performance of Templates: time 0.06907/1.132, allocations: 31.25 MB / 0.6392 GB, free: 5.895 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches