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_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_cpp_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_cpp_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.001644/0.001644, allocations: 176.2 kB / 8.151 MB, free: 2.215 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.647/1.647, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001258/0.001258, allocations: 95.86 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.203e-05/1.214e-05, allocations: 4 kB / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2308, allocations: 47.56 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.3908, allocations: 101.9 MB / 463.7 MB, free: 144 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.3911, allocations: 84.45 kB / 463.8 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd: time 0.18/0.5711, allocations: 40.35 MB / 0.4923 GB, free: 7.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001984/0.5714, allocations: 51.94 kB / 0.4924 GB, free: 7.488 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007482/0.5789, allocations: 1.976 MB / 0.4943 GB, free: 5.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.579, allocations: 8.031 kB / 0.4943 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.5806, allocations: 269.1 kB / 0.4946 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/0.5856, allocations: 1.416 MB / 0.4959 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.5858, allocations: 60 kB / 0.496 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005988/0.5864, allocations: 115.9 kB / 0.4961 GB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006358/0.5928, allocations: 1.78 MB / 0.4979 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1366/0.7295, allocations: 2.104 MB / 0.4999 GB, free: 140.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.7296, allocations: 5.562 kB / 0.4999 GB, free: 140.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.7299, allocations: 0 / 0.4999 GB, free: 140.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.753e-05/0.73, allocations: 82.06 kB / 0.5 GB, free: 140.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.7475, allocations: 7.178 MB / 0.507 GB, free: 139.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.7496, allocations: 0.7189 MB / 0.5077 GB, free: 139.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.7513, allocations: 0.7464 MB / 0.5084 GB, free: 139.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.7517, allocations: 131.7 kB / 0.5086 GB, free: 139 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.7518, allocations: 53.58 kB / 0.5086 GB, free: 139 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 4.608e-06/0.7518, allocations: 3.094 kB / 0.5086 GB, free: 139 MB / 394.7 MB Notification: Performance of matching and sorting (n=103): time 0.01182/0.7636, allocations: 3.957 MB / 0.5125 GB, free: 138.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.7637, allocations: 62.16 kB / 0.5125 GB, free: 138.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.7658, allocations: 1.002 MB / 0.5135 GB, free: 138.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.766, allocations: 25.7 kB / 0.5135 GB, free: 138.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.7663, allocations: 0.6969 MB / 0.5142 GB, free: 137.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.7667, allocations: 352.7 kB / 0.5146 GB, free: 137.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/0.7668, allocations: 0 / 0.5146 GB, free: 137.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7669, allocations: 364.7 kB / 0.5149 GB, free: 137.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.7683, allocations: 0.5984 MB / 0.5155 GB, free: 137.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.7697, allocations: 0.885 MB / 0.5164 GB, free: 136.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.7714, allocations: 0.7461 MB / 0.5171 GB, free: 136.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.7714, allocations: 0 / 0.5171 GB, free: 136.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006174/0.7776, allocations: 2.195 MB / 0.5192 GB, free: 136.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.7777, allocations: 7.656 kB / 0.5192 GB, free: 136.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.7777, allocations: 7.156 kB / 0.5192 GB, free: 136.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.7808, allocations: 0.7405 MB / 0.52 GB, free: 136.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.7827, allocations: 232.6 kB / 0.5202 GB, free: 136.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.7988, allocations: 7.885 MB / 0.5279 GB, free: 133.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.8001, allocations: 46.78 kB / 0.5279 GB, free: 133.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.8003, allocations: 47.75 kB / 0.528 GB, free: 133.3 MB / 394.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.0002993/0.8006, allocations: 55.55 kB / 0.528 GB, free: 133.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004746/0.8011, allocations: 139.1 kB / 0.5282 GB, free: 133.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004904/0.806, allocations: 1.803 MB / 0.5299 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.8061, allocations: 14.44 kB / 0.5299 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.8061, allocations: 3.656 kB / 0.5299 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.8061, allocations: 3.609 kB / 0.5299 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009877/0.816, allocations: 3.674 MB / 0.5335 GB, free: 131.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.8161, allocations: 0 / 0.5335 GB, free: 131.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.8178, allocations: 197.3 kB / 0.5337 GB, free: 131.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002219/0.8201, allocations: 462.2 kB / 0.5342 GB, free: 130.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.8203, allocations: 19.02 kB / 0.5342 GB, free: 130.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007876/0.8282, allocations: 5.727 MB / 0.5398 GB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.8282, allocations: 2.062 kB / 0.5398 GB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006524/0.8348, allocations: 2.801 MB / 0.5425 GB, free: 125.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.836, allocations: 350.6 kB / 0.5428 GB, free: 125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.8363, allocations: 9.375 kB / 0.5428 GB, free: 125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.8378, allocations: 50.22 kB / 0.5429 GB, free: 125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.838, allocations: 67.73 kB / 0.543 GB, free: 125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.8381, allocations: 32.59 kB / 0.543 GB, free: 125 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001702/0.8398, allocations: 0.7607 MB / 0.5437 GB, free: 124.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002295/0.8422, allocations: 388.2 kB / 0.5441 GB, free: 124.6 MB / 394.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.000704/0.8429, allocations: 278.8 kB / 0.5444 GB, free: 124.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005153/0.8481, allocations: 1.857 MB / 0.5462 GB, free: 123.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.8481, allocations: 0.9688 kB / 0.5462 GB, free: 123.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003137/0.8513, allocations: 1.247 MB / 0.5474 GB, free: 123.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.8539, allocations: 258.2 kB / 0.5476 GB, free: 123.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.8643, allocations: 3.304 MB / 0.5509 GB, free: 121.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/0.867, allocations: 1.801 MB / 0.5526 GB, free: 120.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/0.8671, allocations: 0 / 0.5526 GB, free: 120.8 MB / 394.7 MB Notification: Performance of Templates: time 0.07361/0.9407, allocations: 50.11 MB / 0.6016 GB, free: 76.6 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches