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_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [: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.001622/0.001622, allocations: 178.9 kB / 8.154 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.616/1.616, allocations: 205.2 MB / 213.8 MB, free: 13.85 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.001301/0.001301, allocations: 93.95 kB / 261.8 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.082e-05/1.09e-05, allocations: 4 kB / 314.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2288, allocations: 47.56 MB / 361.8 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.3844, allocations: 103.2 MB / 465 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.3848, allocations: 83.95 kB / 465.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.179/0.5638, allocations: 40.67 MB / 0.4939 GB, free: 5.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002217/0.5641, allocations: 51.92 kB / 0.494 GB, free: 5.73 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.007483/0.5716, allocations: 1.981 MB / 0.4959 GB, free: 3.699 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5716, allocations: 8.031 kB / 0.4959 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.5733, allocations: 273 kB / 0.4962 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004935/0.5783, allocations: 1.38 MB / 0.4975 GB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.5785, allocations: 63.94 kB / 0.4976 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006948/0.5792, allocations: 119.9 kB / 0.4977 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00636/0.5855, allocations: 1.773 MB / 0.4994 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1791/0.7647, allocations: 2.121 MB / 0.5015 GB, free: 80.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/0.7648, allocations: 10.03 kB / 0.5015 GB, free: 80.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/0.7652, allocations: 6.094 kB / 0.5015 GB, free: 80.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.7653, allocations: 85.36 kB / 0.5016 GB, free: 80.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.7858, allocations: 7.485 MB / 0.5089 GB, free: 79.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.7879, allocations: 0.8227 MB / 0.5097 GB, free: 79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002799/0.7907, allocations: 0.9119 MB / 0.5106 GB, free: 78.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/0.7913, allocations: 133.9 kB / 0.5107 GB, free: 78.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.7914, allocations: 46.59 kB / 0.5108 GB, free: 78.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 4.839e-06/0.7914, allocations: 0 / 0.5108 GB, free: 78.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.01633/0.8077, allocations: 4.243 MB / 0.5149 GB, free: 78.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.8078, allocations: 68.95 kB / 0.515 GB, free: 78.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.81, allocations: 0.9046 MB / 0.5159 GB, free: 77.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003218/0.8104, allocations: 25.7 kB / 0.5159 GB, free: 77.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.8108, allocations: 0.6983 MB / 0.5166 GB, free: 77.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004897/0.8113, allocations: 423 kB / 0.517 GB, free: 77.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.8114, allocations: 0 / 0.517 GB, free: 77.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8115, allocations: 369.6 kB / 0.5173 GB, free: 76.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.8132, allocations: 0.6356 MB / 0.5179 GB, free: 76.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.8151, allocations: 0.9489 MB / 0.5189 GB, free: 76.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.8172, allocations: 0.7959 MB / 0.5196 GB, free: 76.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.092e-05/0.8173, allocations: 9.562 kB / 0.5196 GB, free: 76.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006094/0.8234, allocations: 2.083 MB / 0.5217 GB, free: 76.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.8235, allocations: 5.344 kB / 0.5217 GB, free: 76.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.8235, allocations: 9.469 kB / 0.5217 GB, free: 76.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/0.8254, allocations: 0.4975 MB / 0.5222 GB, free: 76.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/0.8281, allocations: 327.8 kB / 0.5225 GB, free: 76.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00942/0.8376, allocations: 6.134 MB / 0.5285 GB, free: 72.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.839, allocations: 39.42 kB / 0.5285 GB, free: 72.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.8392, allocations: 52.5 kB / 0.5286 GB, free: 72.72 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: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003452/0.8395, allocations: 63.36 kB / 0.5286 GB, free: 72.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004707/0.84, allocations: 140.8 kB / 0.5288 GB, free: 72.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005575/0.8456, allocations: 2.01 MB / 0.5307 GB, free: 72.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.8457, allocations: 10.28 kB / 0.5307 GB, free: 72.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.8457, allocations: 5.625 kB / 0.5307 GB, free: 72.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/0.8457, allocations: 6.422 kB / 0.5307 GB, free: 72.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.8568, allocations: 3.987 MB / 0.5346 GB, free: 72.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.8569, allocations: 3.969 kB / 0.5346 GB, free: 72.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/0.8589, allocations: 219.8 kB / 0.5349 GB, free: 72.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002507/0.8614, allocations: 0.5487 MB / 0.5354 GB, free: 71.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002209/0.8617, allocations: 21.95 kB / 0.5354 GB, free: 71.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.8719, allocations: 7.6 MB / 0.5428 GB, free: 67.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/0.8719, allocations: 7.719 kB / 0.5428 GB, free: 67.07 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008109/0.88, allocations: 3.098 MB / 0.5459 GB, free: 66.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.8813, allocations: 355.4 kB / 0.5462 GB, free: 66.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004067/0.8818, allocations: 13.92 kB / 0.5462 GB, free: 66.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.8833, allocations: 42.88 kB / 0.5463 GB, free: 66.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.8836, allocations: 74.84 kB / 0.5463 GB, free: 66.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.8838, allocations: 40.19 kB / 0.5464 GB, free: 66.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001498/0.8853, allocations: 0.6739 MB / 0.547 GB, free: 66.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002434/0.8877, allocations: 406 kB / 0.5474 GB, free: 66.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007313/0.8885, allocations: 275.8 kB / 0.5477 GB, free: 66.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005444/0.894, allocations: 2.216 MB / 0.5498 GB, free: 65.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.894, allocations: 0 / 0.5498 GB, free: 65.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003436/0.8975, allocations: 1.441 MB / 0.5513 GB, free: 64.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/0.9005, allocations: 286 kB / 0.5515 GB, free: 64.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009966/0.9105, allocations: 3.484 MB / 0.5549 GB, free: 61.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002419/0.9129, allocations: 1.78 MB / 0.5567 GB, free: 60.15 MB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/0.913, allocations: 3.938 kB / 0.5567 GB, free: 60.15 MB / 394.7 MB Notification: Performance of Templates: time 0.08804/1.001, allocations: 67.18 MB / 0.6223 GB, free: 15.16 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches