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_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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_DOL") [: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.001794/0.001794, 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.758/1.758, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001264/0.001264, allocations: 84.45 kB / 261.8 MB, free: 13.65 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.446e-06/8.455e-06, allocations: 0 / 314.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2352, allocations: 47.56 MB / 361.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.397, allocations: 102.9 MB / 464.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.3974, allocations: 91.73 kB / 464.9 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1975/0.5949, allocations: 43.8 MB / 0.4967 GB, free: 2.992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000205/0.5952, allocations: 55.94 kB / 0.4968 GB, free: 2.938 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008036/0.6032, allocations: 2.189 MB / 0.4989 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6033, allocations: 8.031 kB / 0.4989 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.6052, allocations: 296.8 kB / 0.4992 GB, free: 400 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1285/0.7337, allocations: 1.536 MB / 0.5007 GB, free: 139.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.173e-05/0.7339, allocations: 69.19 kB / 0.5008 GB, free: 139.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004269/0.7343, allocations: 123.9 kB / 0.5009 GB, free: 139.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005777/0.7401, allocations: 2.067 MB / 0.5029 GB, free: 139.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00604/0.7462, allocations: 2.403 MB / 0.5053 GB, free: 139.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.615e-05/0.7463, allocations: 10.59 kB / 0.5053 GB, free: 139.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/0.7466, allocations: 0 / 0.5053 GB, free: 139.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.943e-05/0.7467, allocations: 89.11 kB / 0.5054 GB, free: 139.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01848/0.7652, allocations: 8.104 MB / 0.5133 GB, free: 137.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.767, allocations: 0.8085 MB / 0.5141 GB, free: 137.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/0.7692, allocations: 0.9384 MB / 0.515 GB, free: 137.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003569/0.7695, allocations: 138.8 kB / 0.5151 GB, free: 137.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.7696, allocations: 49.06 kB / 0.5152 GB, free: 137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=107): time 3.677e-06/0.7696, allocations: 0 / 0.5152 GB, free: 137 MB / 394.7 MB Notification: Performance of matching and sorting (n=123): time 0.01251/0.7821, allocations: 4.406 MB / 0.5195 GB, free: 136.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.7822, allocations: 63.91 kB / 0.5195 GB, free: 136.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.7846, allocations: 1.112 MB / 0.5206 GB, free: 136.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.7847, allocations: 32.61 kB / 0.5206 GB, free: 136.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.7851, allocations: 0.7333 MB / 0.5214 GB, free: 135.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/0.7855, allocations: 409.1 kB / 0.5217 GB, free: 135.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.7856, allocations: 0 / 0.5217 GB, free: 135.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.7857, allocations: 364.8 kB / 0.5221 GB, free: 135 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.7873, allocations: 0.6994 MB / 0.5228 GB, free: 135 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.7891, allocations: 0.9911 MB / 0.5237 GB, free: 134.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.7909, allocations: 0.8455 MB / 0.5246 GB, free: 134.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.7909, allocations: 0 / 0.5246 GB, free: 134.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005181/0.7961, allocations: 2.102 MB / 0.5266 GB, free: 133.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7962, allocations: 3.406 kB / 0.5266 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.7962, allocations: 8.469 kB / 0.5266 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.7977, allocations: 411.8 kB / 0.527 GB, free: 133.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/0.8003, allocations: 334.3 kB / 0.5273 GB, free: 133.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006471/0.8068, allocations: 4.273 MB / 0.5315 GB, free: 130.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.8081, allocations: 52.91 kB / 0.5316 GB, free: 130.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.8083, allocations: 54.88 kB / 0.5316 GB, free: 130.5 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(6,55.6%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003304/0.8087, allocations: 57.61 kB / 0.5317 GB, free: 130.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/0.8092, allocations: 154.5 kB / 0.5318 GB, free: 130.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005307/0.8145, allocations: 2.03 MB / 0.5338 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.8145, allocations: 15.78 kB / 0.5338 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.8145, allocations: 3.938 kB / 0.5338 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.8146, allocations: 7.406 kB / 0.5338 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.8252, allocations: 4.208 MB / 0.5379 GB, free: 128.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.8253, allocations: 3.656 kB / 0.5379 GB, free: 128.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/0.8273, allocations: 229 kB / 0.5382 GB, free: 128 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/0.8295, allocations: 461.1 kB / 0.5386 GB, free: 127.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.8297, allocations: 15.78 kB / 0.5386 GB, free: 127.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00809/0.8378, allocations: 5.734 MB / 0.5442 GB, free: 123.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.8378, allocations: 6.5 kB / 0.5442 GB, free: 123.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007633/0.8455, allocations: 3.238 MB / 0.5474 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.8468, allocations: 385.1 kB / 0.5478 GB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003724/0.8472, allocations: 14.03 kB / 0.5478 GB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.8487, allocations: 55.25 kB / 0.5478 GB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/0.849, allocations: 80.16 kB / 0.5479 GB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/0.8492, allocations: 36.47 kB / 0.5479 GB, free: 121.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001841/0.851, allocations: 0.8382 MB / 0.5488 GB, free: 121.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002127/0.8532, allocations: 415.5 kB / 0.5491 GB, free: 121.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.0006397/0.8538, allocations: 288.5 kB / 0.5494 GB, free: 121.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005169/0.859, allocations: 2.176 MB / 0.5515 GB, free: 120.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.859, allocations: 0 / 0.5515 GB, free: 120.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003083/0.8621, allocations: 1.391 MB / 0.5529 GB, free: 119.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.8649, allocations: 308 kB / 0.5532 GB, free: 118.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/0.8742, allocations: 3.714 MB / 0.5568 GB, free: 115.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/0.8768, allocations: 1.955 MB / 0.5587 GB, free: 114 MB / 394.7 MB Notification: Performance of SimCode: time 1.263e-06/0.8768, allocations: 0 / 0.5587 GB, free: 114 MB / 394.7 MB Notification: Performance of Templates: time 0.08425/0.9611, allocations: 65.39 MB / 0.6226 GB, free: 54.46 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches