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") [: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.000961/0.000961, allocations: 174.7 kB / 8.475 MB, free: 1.871 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.073/1.073, allocations: 205.2 MB / 214.1 MB, free: 5.242 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.0009034/0.0009034, allocations: 90.22 kB / 262.1 MB, free: 5.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.58e-06/5.59e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06186/0.06188, allocations: 47.57 MB / 362.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2134/0.2753, allocations: 101.8 MB / 464.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.2756, allocations: 92.05 kB / 464.5 MB, free: 5.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1053/0.3808, allocations: 40.34 MB / 0.493 GB, free: 6.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001239/0.381, allocations: 51.94 kB / 0.493 GB, free: 6.055 MB / 346.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.003458/0.3845, allocations: 1.978 MB / 0.495 GB, free: 4.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.3845, allocations: 12.03 kB / 0.495 GB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000647/0.3852, allocations: 273.1 kB / 0.4952 GB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.3876, allocations: 1.41 MB / 0.4966 GB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.3876, allocations: 64 kB / 0.4967 GB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.3879, allocations: 115.9 kB / 0.4968 GB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002766/0.3907, allocations: 1.78 MB / 0.4985 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.3938, allocations: 2.104 MB / 0.5006 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.3939, allocations: 4 kB / 0.5006 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.394, allocations: 4 kB / 0.5006 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.015e-05/0.3941, allocations: 83.44 kB / 0.5007 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.4043, allocations: 7.175 MB / 0.5077 GB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.4055, allocations: 0.7197 MB / 0.5084 GB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.4066, allocations: 0.7437 MB / 0.5091 GB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.4069, allocations: 129.8 kB / 0.5092 GB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.4069, allocations: 51.27 kB / 0.5093 GB, free: 5.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.4069, allocations: 0 / 0.5093 GB, free: 5.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=103): time 0.007012/0.414, allocations: 3.967 MB / 0.5132 GB, free: 1.164 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.414, allocations: 60.41 kB / 0.5132 GB, free: 1.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.4153, allocations: 1.008 MB / 0.5142 GB, free: 72 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.4154, allocations: 29.64 kB / 0.5142 GB, free: 36 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.4158, allocations: 0.7163 MB / 0.5149 GB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.4161, allocations: 346.9 kB / 0.5153 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.4161, allocations: 0 / 0.5153 GB, free: 14.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4163, allocations: 361.8 kB / 0.5156 GB, free: 14.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.4171, allocations: 0.6 MB / 0.5162 GB, free: 14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009718/0.418, allocations: 0.8844 MB / 0.517 GB, free: 13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009975/0.4191, allocations: 0.7446 MB / 0.5178 GB, free: 12.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4191, allocations: 0 / 0.5178 GB, free: 12.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003811/0.4229, allocations: 2.268 MB / 0.52 GB, free: 9.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4229, allocations: 8 kB / 0.52 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4229, allocations: 11.98 kB / 0.52 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.4249, allocations: 0.7743 MB / 0.5208 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/0.4258, allocations: 231.6 kB / 0.521 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.4359, allocations: 7.791 MB / 0.5286 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.4373, allocations: 39.95 kB / 0.5286 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.4374, allocations: 55.98 kB / 0.5287 GB, free: 0.8164 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 () * 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.0003261/0.4378, allocations: 128.7 kB / 0.5288 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.438, allocations: 130.4 kB / 0.5289 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/0.4411, allocations: 1.812 MB / 0.5307 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.4411, allocations: 8 kB / 0.5307 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4412, allocations: 4 kB / 0.5307 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.4412, allocations: 7.922 kB / 0.5307 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006017/0.4472, allocations: 3.678 MB / 0.5343 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4472, allocations: 8.219 kB / 0.5343 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009213/0.4481, allocations: 195.8 kB / 0.5345 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.4494, allocations: 462.8 kB / 0.535 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/0.4495, allocations: 11.98 kB / 0.535 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005356/0.4548, allocations: 5.725 MB / 0.5406 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.4549, allocations: 11.84 kB / 0.5406 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003691/0.4586, allocations: 2.797 MB / 0.5433 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006379/0.4592, allocations: 339.4 kB / 0.5436 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.4594, allocations: 15.92 kB / 0.5436 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/0.4602, allocations: 47.95 kB / 0.5437 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.4604, allocations: 68.58 kB / 0.5437 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/0.4605, allocations: 32 kB / 0.5438 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0009936/0.4615, allocations: 0.7597 MB / 0.5445 GB, free: 20 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001392/0.4629, allocations: 400.1 kB / 0.5449 GB, free: 15.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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.0004474/0.4633, allocations: 273.4 kB / 0.5452 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00276/0.4661, allocations: 1.86 MB / 0.547 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4661, allocations: 0 / 0.547 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.4678, allocations: 1.234 MB / 0.5482 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.469, allocations: 256.3 kB / 0.5484 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.4745, allocations: 3.274 MB / 0.5516 GB, free: 8.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/0.4761, allocations: 1.804 MB / 0.5534 GB, free: 6.754 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4761, allocations: 0 / 0.5534 GB, free: 6.754 MB / 410.7 MB Notification: Performance of Templates: time 0.03152/0.5076, allocations: 20.1 MB / 0.573 GB, free: 2.625 MB / 426.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/jenkins/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