Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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 trunk/package.mo): time 0.001071/0.001071, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008253/0.0008254, allocations: 95.84 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/8.987e-06, allocations: 4 kB / 343.1 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.0827, allocations: 51.47 MB / 394.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2503/0.3331, allocations: 112.1 MB / 0.4949 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.3334, allocations: 84.45 kB / 0.495 GB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.3656/0.699, allocations: 92.8 MB / 0.5856 GB, free: 70.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002207/0.6992, allocations: 99.38 kB / 0.5857 GB, free: 70.63 MB / 442.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.006787/0.706, allocations: 3.562 MB / 0.5892 GB, free: 69.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.7061, allocations: 10.62 kB / 0.5892 GB, free: 69.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.708, allocations: 0.5472 MB / 0.5897 GB, free: 69.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004541/0.7126, allocations: 2.568 MB / 0.5922 GB, free: 68.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.985e-05/0.7127, allocations: 116.3 kB / 0.5923 GB, free: 68.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/0.7132, allocations: 208.1 kB / 0.5925 GB, free: 68.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005398/0.7186, allocations: 3.781 MB / 0.5962 GB, free: 68.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005986/0.7246, allocations: 4.389 MB / 0.6005 GB, free: 68.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.189e-05/0.7247, allocations: 10.72 kB / 0.6005 GB, free: 68.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002983/0.725, allocations: 3.75 kB / 0.6005 GB, free: 68.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.7251, allocations: 183 kB / 0.6007 GB, free: 68.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01932/0.7445, allocations: 14.35 MB / 0.6147 GB, free: 65.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.7467, allocations: 1.634 MB / 0.6163 GB, free: 65.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002344/0.7491, allocations: 1.992 MB / 0.6182 GB, free: 65.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.7494, allocations: 144.6 kB / 0.6184 GB, free: 65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.7494, allocations: 62.12 kB / 0.6184 GB, free: 64.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 4.007e-06/0.7494, allocations: 0 / 0.6184 GB, free: 64.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.01226/0.7617, allocations: 7.393 MB / 0.6257 GB, free: 62.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.7618, allocations: 75.5 kB / 0.6257 GB, free: 62.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.7642, allocations: 1.772 MB / 0.6275 GB, free: 61.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.7645, allocations: 25.7 kB / 0.6275 GB, free: 61.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.765, allocations: 1.248 MB / 0.6287 GB, free: 60.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000508/0.7655, allocations: 0.7154 MB / 0.6294 GB, free: 59.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.7657, allocations: 0 / 0.6294 GB, free: 59.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7658, allocations: 400.4 kB / 0.6298 GB, free: 59.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.7673, allocations: 1.246 MB / 0.631 GB, free: 59.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.7689, allocations: 1.66 MB / 0.6326 GB, free: 58.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.7706, allocations: 1.507 MB / 0.6341 GB, free: 57.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.7706, allocations: 3.594 kB / 0.6341 GB, free: 57.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005497/0.7761, allocations: 3.796 MB / 0.6378 GB, free: 56.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.7762, allocations: 3.969 kB / 0.6378 GB, free: 56.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.7762, allocations: 11.75 kB / 0.6378 GB, free: 56.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/0.778, allocations: 0.7585 MB / 0.6386 GB, free: 56.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.7803, allocations: 0.5243 MB / 0.6391 GB, free: 56.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007812/0.7881, allocations: 8.068 MB / 0.6469 GB, free: 50.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.7902, allocations: 65.61 kB / 0.647 GB, free: 50.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/0.7905, allocations: 88.45 kB / 0.6471 GB, free: 50.55 MB / 442.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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004413/0.7909, allocations: 155.9 kB / 0.6472 GB, free: 50.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005497/0.7915, allocations: 249.1 kB / 0.6475 GB, free: 50.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005608/0.7971, allocations: 3.536 MB / 0.6509 GB, free: 49.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/0.7971, allocations: 21.97 kB / 0.651 GB, free: 49.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.7971, allocations: 10.28 kB / 0.651 GB, free: 49.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.7972, allocations: 10.69 kB / 0.651 GB, free: 49.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.8091, allocations: 7.395 MB / 0.6582 GB, free: 46.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.8092, allocations: 3.062 kB / 0.6582 GB, free: 46.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/0.8111, allocations: 395 kB / 0.6586 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/0.8134, allocations: 0.8019 MB / 0.6594 GB, free: 45.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.8136, allocations: 23.39 kB / 0.6594 GB, free: 45.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008717/0.8223, allocations: 9.508 MB / 0.6687 GB, free: 39.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8223, allocations: 3.75 kB / 0.6687 GB, free: 39.07 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007099/0.8294, allocations: 5.635 MB / 0.6742 GB, free: 36.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.8309, allocations: 0.6062 MB / 0.6748 GB, free: 36.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004652/0.8314, allocations: 17.48 kB / 0.6748 GB, free: 36.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.8328, allocations: 87.27 kB / 0.6749 GB, free: 36.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/0.8331, allocations: 135.9 kB / 0.675 GB, free: 36.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.8332, allocations: 65.81 kB / 0.6751 GB, free: 36.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.00187/0.8351, allocations: 1.337 MB / 0.6764 GB, free: 35.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002468/0.8376, allocations: 0.7129 MB / 0.6771 GB, free: 35.63 MB / 442.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,(2,100.0%) 26,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005741/0.8382, allocations: 361.4 kB / 0.6774 GB, free: 35.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004371/0.8426, allocations: 3.631 MB / 0.681 GB, free: 33.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8426, allocations: 4.312 kB / 0.681 GB, free: 33.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002864/0.8454, allocations: 2.29 MB / 0.6832 GB, free: 32.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.8482, allocations: 0.5062 MB / 0.6837 GB, free: 32.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.8588, allocations: 6.432 MB / 0.69 GB, free: 30.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002729/0.8616, allocations: 3.002 MB / 0.6929 GB, free: 28.95 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.8616, allocations: 3.938 kB / 0.6929 GB, free: 28.94 MB / 442.7 MB Notification: Performance of Templates: time 0.05744/0.919, allocations: 37.9 MB / 0.7299 GB, free: 5.441 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches