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.0009095/0.0009094, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007995/0.0007995, allocations: 82.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.286e-05/1.288e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07961/0.07964, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3221/0.4018, allocations: 108.6 MB / 471.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4021, allocations: 87.95 kB / 471.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1337/0.5358, allocations: 51.41 MB / 0.5109 GB, free: 5.227 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5359, allocations: 0 / 0.5109 GB, free: 5.227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001671/0.536, allocations: 63.88 kB / 0.511 GB, free: 5.164 MB / 394.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.005256/0.5413, allocations: 2.416 MB / 0.5133 GB, free: 2.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.5414, allocations: 12.03 kB / 0.5133 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.5425, allocations: 332.3 kB / 0.5137 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.5456, allocations: 1.763 MB / 0.5154 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.5457, allocations: 64 kB / 0.5154 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/0.546, allocations: 127.9 kB / 0.5156 GB, free: 348 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003051/0.549, allocations: 1.945 MB / 0.5175 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.5526, allocations: 2.307 MB / 0.5197 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.5527, allocations: 8 kB / 0.5197 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.5529, allocations: 7.938 kB / 0.5197 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.625e-05/0.553, allocations: 83.94 kB / 0.5198 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.5652, allocations: 7.937 MB / 0.5276 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.5676, allocations: 1.542 MB / 0.5291 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.5688, allocations: 0.8644 MB / 0.5299 GB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003137/0.5691, allocations: 142.3 kB / 0.53 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.5691, allocations: 47.88 kB / 0.5301 GB, free: 1.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 3.536e-06/0.5692, allocations: 0 / 0.5301 GB, free: 1.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.2063/0.7754, allocations: 4.797 MB / 0.5348 GB, free: 103.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.7755, allocations: 66.86 kB / 0.5348 GB, free: 103.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.7781, allocations: 1.65 MB / 0.5364 GB, free: 103 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.7782, allocations: 26.83 kB / 0.5365 GB, free: 103 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006631/0.7789, allocations: 1.107 MB / 0.5376 GB, free: 102.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.7792, allocations: 450.6 kB / 0.538 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.7793, allocations: 1.75 kB / 0.538 GB, free: 102.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.7794, allocations: 358.4 kB / 0.5383 GB, free: 102.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009284/0.7803, allocations: 0.6885 MB / 0.539 GB, free: 102.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.7814, allocations: 0.9237 MB / 0.5399 GB, free: 101.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.7826, allocations: 0.8174 MB / 0.5407 GB, free: 101.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.7826, allocations: 5.219 kB / 0.5407 GB, free: 101.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004473/0.7871, allocations: 2.57 MB / 0.5432 GB, free: 101.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.7871, allocations: 8.719 kB / 0.5432 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.7871, allocations: 7.312 kB / 0.5432 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/0.7893, allocations: 0.8317 MB / 0.544 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.7905, allocations: 267 kB / 0.5443 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.8009, allocations: 8.893 MB / 0.553 GB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.8025, allocations: 70.53 kB / 0.553 GB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.8026, allocations: 53.58 kB / 0.5531 GB, free: 98.96 MB / 410.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 () * 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.0002595/0.8029, allocations: 126.1 kB / 0.5532 GB, free: 98.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.8032, allocations: 191 kB / 0.5534 GB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/0.8068, allocations: 2.354 MB / 0.5557 GB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.8069, allocations: 11.72 kB / 0.5557 GB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.8069, allocations: 11.16 kB / 0.5557 GB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.8069, allocations: 7.359 kB / 0.5557 GB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006839/0.8137, allocations: 4.595 MB / 0.5602 GB, free: 97.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.8138, allocations: 7.75 kB / 0.5602 GB, free: 97.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/0.8148, allocations: 220.3 kB / 0.5604 GB, free: 97.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.8164, allocations: 0.6899 MB / 0.5611 GB, free: 96.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.778e-05/0.8165, allocations: 28.91 kB / 0.5611 GB, free: 96.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006852/0.8234, allocations: 8.136 MB / 0.5691 GB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.8234, allocations: 6.156 kB / 0.5691 GB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004219/0.8276, allocations: 3.438 MB / 0.5724 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007449/0.8284, allocations: 459.8 kB / 0.5729 GB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.8286, allocations: 14.5 kB / 0.5729 GB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008558/0.8295, allocations: 72.33 kB / 0.573 GB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.8297, allocations: 104 kB / 0.5731 GB, free: 89.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/0.8298, allocations: 42.55 kB / 0.5731 GB, free: 89.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001399/0.8312, allocations: 1.26 MB / 0.5743 GB, free: 88.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8312, allocations: 2.969 kB / 0.5743 GB, free: 88.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001635/0.8328, allocations: 0.5251 MB / 0.5749 GB, free: 88.92 MB / 410.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 () * 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.0009599/0.8338, allocations: 0.52 MB / 0.5754 GB, free: 88.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002865/0.8367, allocations: 2.289 MB / 0.5776 GB, free: 87.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8367, allocations: 0 / 0.5776 GB, free: 87.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.8386, allocations: 1.613 MB / 0.5792 GB, free: 86.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.84, allocations: 320.8 kB / 0.5795 GB, free: 86.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.8454, allocations: 4.17 MB / 0.5835 GB, free: 85.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.8466, allocations: 2.004 MB / 0.5855 GB, free: 84.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00103/0.8476, allocations: 381.1 kB / 0.5859 GB, free: 84.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.8479, allocations: 126.8 kB / 0.586 GB, free: 84.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8479, allocations: 0 / 0.586 GB, free: 84.15 MB / 410.7 MB Notification: Performance of Templates: time 0.03562/0.8836, allocations: 25.42 MB / 0.6108 GB, free: 71.84 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