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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002384/0.002384, allocations: 177 kB / 8.152 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.001235/0.001234, allocations: 84.28 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/9.168e-06, allocations: 0 / 314.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2326, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.3882, allocations: 101.4 MB / 463.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.3885, allocations: 84.45 kB / 463.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1713/0.5599, allocations: 39.49 MB / 0.491 GB, free: 8.875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000204/0.5602, allocations: 51.94 kB / 0.4911 GB, free: 8.824 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.007355/0.5675, allocations: 1.933 MB / 0.493 GB, free: 6.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.5676, allocations: 12.02 kB / 0.493 GB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.5693, allocations: 253.2 kB / 0.4932 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005003/0.5744, allocations: 1.355 MB / 0.4945 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.5745, allocations: 56 kB / 0.4946 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005448/0.5751, allocations: 111.9 kB / 0.4947 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005555/0.5807, allocations: 1.725 MB / 0.4964 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006048/0.5867, allocations: 2.057 MB / 0.4984 GB, free: 1.152 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.632e-05/0.5869, allocations: 7.938 kB / 0.4984 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/0.5871, allocations: 4 kB / 0.4984 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.5873, allocations: 91.5 kB / 0.4985 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1393/0.7265, allocations: 6.847 MB / 0.5052 GB, free: 142 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.7283, allocations: 0.6877 MB / 0.5059 GB, free: 142 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.7301, allocations: 0.7288 MB / 0.5066 GB, free: 142 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.7305, allocations: 135.6 kB / 0.5067 GB, free: 141.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.7305, allocations: 44.44 kB / 0.5067 GB, free: 141.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 3.347e-06/0.7306, allocations: 0 / 0.5067 GB, free: 141.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=113): time 0.01517/0.7457, allocations: 4.586 MB / 0.5112 GB, free: 141.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.7458, allocations: 64.38 kB / 0.5113 GB, free: 141.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.7477, allocations: 0.8562 MB / 0.5121 GB, free: 141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000235/0.748, allocations: 25.7 kB / 0.5121 GB, free: 141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.7483, allocations: 0.6977 MB / 0.5128 GB, free: 140.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/0.7487, allocations: 379.1 kB / 0.5132 GB, free: 140.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.7488, allocations: 0 / 0.5132 GB, free: 140.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.749, allocations: 360.1 kB / 0.5135 GB, free: 140.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.7504, allocations: 0.6296 MB / 0.5141 GB, free: 140.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.752, allocations: 0.9242 MB / 0.515 GB, free: 139.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.7538, allocations: 0.7798 MB / 0.5158 GB, free: 139.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.7539, allocations: 2.75 kB / 0.5158 GB, free: 139.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006017/0.7599, allocations: 2.141 MB / 0.5179 GB, free: 139.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.76, allocations: 6.812 kB / 0.5179 GB, free: 139.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.76, allocations: 9.281 kB / 0.5179 GB, free: 139.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/0.7626, allocations: 0.6391 MB / 0.5185 GB, free: 139.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.7649, allocations: 270.4 kB / 0.5188 GB, free: 139.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.7761, allocations: 5.817 MB / 0.5245 GB, free: 137.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.7775, allocations: 50.59 kB / 0.5245 GB, free: 137.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.7776, allocations: 53.33 kB / 0.5246 GB, free: 137.1 MB / 394.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 {(6,80.6%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003168/0.778, allocations: 59.39 kB / 0.5246 GB, free: 137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004536/0.7784, allocations: 121.1 kB / 0.5247 GB, free: 137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005973/0.7844, allocations: 2.096 MB / 0.5268 GB, free: 136.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.7845, allocations: 11.72 kB / 0.5268 GB, free: 136.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.7845, allocations: 3.938 kB / 0.5268 GB, free: 136.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.7845, allocations: 11.03 kB / 0.5268 GB, free: 136.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.7958, allocations: 4.053 MB / 0.5308 GB, free: 134.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.7959, allocations: 3.719 kB / 0.5308 GB, free: 134.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.7974, allocations: 173.1 kB / 0.5309 GB, free: 134.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/0.8009, allocations: 0.7134 MB / 0.5316 GB, free: 134.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/0.8012, allocations: 19.02 kB / 0.5317 GB, free: 134.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/0.8146, allocations: 7.393 MB / 0.5389 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/0.8147, allocations: 7.906 kB / 0.5389 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008348/0.823, allocations: 3.193 MB / 0.542 GB, free: 127.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.8242, allocations: 348.2 kB / 0.5423 GB, free: 127.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.8246, allocations: 10.91 kB / 0.5424 GB, free: 127.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.8262, allocations: 57.42 kB / 0.5424 GB, free: 127.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/0.8265, allocations: 69.89 kB / 0.5425 GB, free: 127.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.8267, allocations: 39.33 kB / 0.5425 GB, free: 127.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001514/0.8282, allocations: 0.6441 MB / 0.5431 GB, free: 127.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002341/0.8306, allocations: 394.6 kB / 0.5435 GB, free: 127.4 MB / 394.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.000735/0.8314, allocations: 278.7 kB / 0.5438 GB, free: 127.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005471/0.8368, allocations: 2.084 MB / 0.5458 GB, free: 126.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.8369, allocations: 1.25 kB / 0.5458 GB, free: 126.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00406/0.841, allocations: 1.398 MB / 0.5472 GB, free: 125.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.8437, allocations: 265.3 kB / 0.5474 GB, free: 125.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/0.8531, allocations: 3.288 MB / 0.5506 GB, free: 122.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/0.8555, allocations: 1.765 MB / 0.5524 GB, free: 121.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/0.8555, allocations: 0 / 0.5524 GB, free: 121.3 MB / 394.7 MB Notification: Performance of Templates: time 0.07637/0.9319, allocations: 57.08 MB / 0.6081 GB, free: 70.05 MB / 394.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