Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001525, allocations: 180.9 kB / 13.65 MB, free: 1.66 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.947/1.947, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001679/0.001678, allocations: 94.58 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.036e-05, allocations: 11.98 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09502/0.09508, allocations: 47.58 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5084/0.6035, allocations: 102.1 MB / 471.2 MB, free: 7.398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.6039, allocations: 91.31 kB / 471.3 MB, free: 7.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.179/0.7829, allocations: 40.23 MB / 0.4995 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7829, allocations: 0 / 0.4995 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002287/0.7832, allocations: 55.92 kB / 0.4996 GB, free: 460 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.007392/0.7906, allocations: 1.929 MB / 0.5015 GB, free: 14.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.7907, allocations: 12.03 kB / 0.5015 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.7922, allocations: 245.3 kB / 0.5017 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/0.7974, allocations: 1.351 MB / 0.5031 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.7976, allocations: 135.6 kB / 0.5032 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007969/0.7985, allocations: 179.9 kB / 0.5034 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007624/0.8061, allocations: 2.29 MB / 0.5056 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.8063, allocations: 4 kB / 0.5056 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/0.8066, allocations: 76.33 kB / 0.5057 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/0.8068, allocations: 91.45 kB / 0.5058 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006273/0.8131, allocations: 1.779 MB / 0.5075 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/0.8343, allocations: 7.175 MB / 0.5145 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.8374, allocations: 1.274 MB / 0.5157 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.8395, allocations: 0.691 MB / 0.5164 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/0.84, allocations: 137.8 kB / 0.5165 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.8401, allocations: 39.34 kB / 0.5166 GB, free: 14.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 3.557e-06/0.8401, allocations: 0 / 0.5166 GB, free: 14.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=113): time 0.0259/0.866, allocations: 5.946 MB / 0.5224 GB, free: 8.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.8661, allocations: 64.41 kB / 0.5225 GB, free: 8.488 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.8687, allocations: 1.03 MB / 0.5235 GB, free: 7.445 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.869, allocations: 45.7 kB / 0.5235 GB, free: 7.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/0.8698, allocations: 0.8399 MB / 0.5243 GB, free: 6.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006229/0.8705, allocations: 402.2 kB / 0.5247 GB, free: 6.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.8706, allocations: 24 kB / 0.5247 GB, free: 6.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.8708, allocations: 362.7 kB / 0.5251 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.8726, allocations: 0.6351 MB / 0.5257 GB, free: 5.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.8747, allocations: 0.9499 MB / 0.5266 GB, free: 4.047 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.877, allocations: 0.7895 MB / 0.5274 GB, free: 3.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/0.8771, allocations: 4 kB / 0.5274 GB, free: 3.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007005/0.8841, allocations: 2.242 MB / 0.5296 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.8842, allocations: 11.38 kB / 0.5296 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.8842, allocations: 12 kB / 0.5296 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002957/0.8872, allocations: 0.642 MB / 0.5302 GB, free: 324 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.8894, allocations: 279.6 kB / 0.5305 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2796/1.169, allocations: 6.282 MB / 0.5366 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/1.171, allocations: 92.53 kB / 0.5367 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/1.171, allocations: 52.94 kB / 0.5368 GB, free: 105.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003637/1.172, allocations: 181 kB / 0.5369 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/1.172, allocations: 136.1 kB / 0.5371 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00654/1.179, allocations: 2.176 MB / 0.5392 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/1.179, allocations: 21.22 kB / 0.5392 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/1.179, allocations: 6.094 kB / 0.5392 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-05/1.179, allocations: 6.812 kB / 0.5392 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/1.192, allocations: 4.346 MB / 0.5435 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/1.192, allocations: 2.812 kB / 0.5435 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/1.194, allocations: 175.1 kB / 0.5436 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00365/1.197, allocations: 0.7299 MB / 0.5444 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002756/1.198, allocations: 36.12 kB / 0.5444 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/1.211, allocations: 8.042 MB / 0.5522 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.211, allocations: 3.469 kB / 0.5523 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007803/1.219, allocations: 3.264 MB / 0.5554 GB, free: 98.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.221, allocations: 363.7 kB / 0.5558 GB, free: 98.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/1.221, allocations: 32.45 kB / 0.5558 GB, free: 98.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.223, allocations: 79.09 kB / 0.5559 GB, free: 98.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/1.223, allocations: 95.3 kB / 0.556 GB, free: 98.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.223, allocations: 37.02 kB / 0.556 GB, free: 98.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001736/1.225, allocations: 0.8012 MB / 0.5568 GB, free: 98.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.225, allocations: 0 / 0.5568 GB, free: 98.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002411/1.227, allocations: 476.9 kB / 0.5573 GB, free: 98.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007398/1.228, allocations: 292.3 kB / 0.5575 GB, free: 98.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005462/1.234, allocations: 2.219 MB / 0.5597 GB, free: 97.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.234, allocations: 0 / 0.5597 GB, free: 97.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004119/1.238, allocations: 1.537 MB / 0.5612 GB, free: 96.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/1.241, allocations: 339.3 kB / 0.5615 GB, free: 96.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/1.249, allocations: 3.321 MB / 0.5648 GB, free: 94.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/1.251, allocations: 1.673 MB / 0.5664 GB, free: 93.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/1.252, allocations: 100.1 kB / 0.5665 GB, free: 93.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/1.252, allocations: 0 / 0.5665 GB, free: 93.81 MB / 410.7 MB Notification: Performance of Templates: time 0.08652/1.338, allocations: 57.36 MB / 0.6225 GB, free: 56 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches