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_Transformer.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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [: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.001831/0.00183, allocations: 178.6 kB / 8.154 MB, free: 2.094 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.8 MB, free: 13.93 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.001266/0.001266, allocations: 95.02 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.023e-05/1.024e-05, allocations: 0 / 314.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2298, allocations: 47.56 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.4046, allocations: 110.9 MB / 472.8 MB, free: 7.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.405, allocations: 83.95 kB / 472.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5193/0.9243, allocations: 92.31 MB / 0.5519 GB, free: 89.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004557/0.9248, allocations: 99.22 kB / 0.552 GB, free: 89.14 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.02086/0.9457, allocations: 3.545 MB / 0.5555 GB, free: 85.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.9458, allocations: 8.031 kB / 0.5555 GB, free: 85.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/0.9509, allocations: 0.5063 MB / 0.556 GB, free: 85.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/0.9653, allocations: 2.57 MB / 0.5585 GB, free: 82.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004122/0.9657, allocations: 119.9 kB / 0.5586 GB, free: 82.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002241/0.968, allocations: 211.9 kB / 0.5588 GB, free: 82.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01872/0.9868, allocations: 3.79 MB / 0.5625 GB, free: 78.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/1.009, allocations: 4.404 MB / 0.5668 GB, free: 73.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/1.01, allocations: 11.98 kB / 0.5668 GB, free: 73.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/1.011, allocations: 4 kB / 0.5668 GB, free: 73.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003197/1.011, allocations: 182.9 kB / 0.567 GB, free: 73.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06126/1.073, allocations: 14.36 MB / 0.581 GB, free: 59.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006129/1.079, allocations: 1.634 MB / 0.5826 GB, free: 57.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007527/1.087, allocations: 1.981 MB / 0.5845 GB, free: 55.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007115/1.087, allocations: 151 kB / 0.5847 GB, free: 55.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/1.087, allocations: 52.56 kB / 0.5847 GB, free: 55.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 8.546e-06/1.087, allocations: 0 / 0.5847 GB, free: 55.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.03183/1.119, allocations: 7.391 MB / 0.5919 GB, free: 47.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/1.119, allocations: 77.34 kB / 0.592 GB, free: 47.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004542/1.124, allocations: 1.777 MB / 0.5938 GB, free: 46.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005184/1.125, allocations: 25.7 kB / 0.5938 GB, free: 45.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005379/1.125, allocations: 1.162 MB / 0.5949 GB, free: 44.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009853/1.126, allocations: 0.7081 MB / 0.5956 GB, free: 44.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/1.126, allocations: 0 / 0.5956 GB, free: 44.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/1.127, allocations: 403.4 kB / 0.596 GB, free: 43.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003076/1.13, allocations: 1.25 MB / 0.5972 GB, free: 42.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/1.133, allocations: 1.658 MB / 0.5988 GB, free: 40.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/1.137, allocations: 1.509 MB / 0.6003 GB, free: 39.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.698e-05/1.137, allocations: 4 kB / 0.6003 GB, free: 39.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01064/1.148, allocations: 3.648 MB / 0.6039 GB, free: 35.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.148, allocations: 5.562 kB / 0.6039 GB, free: 35.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/1.148, allocations: 12 kB / 0.6039 GB, free: 35.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/1.151, allocations: 0.7158 MB / 0.6046 GB, free: 34.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004656/1.156, allocations: 0.5227 MB / 0.6051 GB, free: 34.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/1.17, allocations: 8.098 MB / 0.613 GB, free: 25.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/1.172, allocations: 55.84 kB / 0.6131 GB, free: 25.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004967/1.173, allocations: 88 kB / 0.6131 GB, free: 25.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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: 3 * 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: 3 {(6,55.6%) 8,(1,100.0%) 1,(7,42.9%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005901/1.173, allocations: 74.14 kB / 0.6132 GB, free: 25.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008644/1.174, allocations: 252.9 kB / 0.6135 GB, free: 25.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.185, allocations: 3.532 MB / 0.6169 GB, free: 21.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/1.185, allocations: 24 kB / 0.6169 GB, free: 21.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/1.185, allocations: 8 kB / 0.6169 GB, free: 21.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.538e-05/1.185, allocations: 19.84 kB / 0.617 GB, free: 21.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/1.207, allocations: 7.398 MB / 0.6242 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/1.207, allocations: 4 kB / 0.6242 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003712/1.211, allocations: 391.8 kB / 0.6246 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003953/1.215, allocations: 0.8011 MB / 0.6253 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000503/1.215, allocations: 27.97 kB / 0.6254 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/1.23, allocations: 9.505 MB / 0.6346 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/1.23, allocations: 8.031 kB / 0.6347 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01462/1.245, allocations: 5.629 MB / 0.6402 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/1.248, allocations: 0.6073 MB / 0.6407 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/1.249, allocations: 16 kB / 0.6408 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003232/1.252, allocations: 83.92 kB / 0.6408 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000798/1.253, allocations: 137.7 kB / 0.641 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002977/1.253, allocations: 71.97 kB / 0.641 GB, free: 12.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.004217/1.258, allocations: 1.328 MB / 0.6423 GB, free: 10.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006732/1.264, allocations: 0.7073 MB / 0.643 GB, free: 10.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/1.266, allocations: 355.3 kB / 0.6434 GB, free: 9.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01494/1.281, allocations: 3.681 MB / 0.647 GB, free: 6.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/1.281, allocations: 4 kB / 0.647 GB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007431/1.289, allocations: 2.296 MB / 0.6492 GB, free: 3.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005369/1.294, allocations: 0.5105 MB / 0.6497 GB, free: 3.281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1821/1.476, allocations: 6.453 MB / 0.656 GB, free: 129.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006367/1.483, allocations: 2.966 MB / 0.6589 GB, free: 128.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/1.483, allocations: 0 / 0.6589 GB, free: 128.4 MB / 410.7 MB Notification: Performance of Templates: time 0.1921/1.675, allocations: 130.3 MB / 0.7861 GB, free: 40.76 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_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_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches