Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.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.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [: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.002435/0.002434, allocations: 187.3 kB / 8.15 MB, free: 0.8477 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.2 MB / 213.7 MB, free: 8.562 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 96.72 kB / 261.8 MB, free: 5.152 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.014e-05, allocations: 0 / 314.3 MB, free: 2.422 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 47.57 MB / 361.9 MB, free: 2.727 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/0.4363, allocations: 108 MB / 469.9 MB, free: 12.19 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/0.4367, allocations: 79.02 kB / 469.9 MB, free: 12.15 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.2224/0.6592, allocations: 49.1 MB / 0.5069 GB, free: 14 MB / 402.8 MB Notification: Performance of Transformations before backend: time 0.000326/0.6596, allocations: 63.94 kB / 0.5069 GB, free: 13.94 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009401/0.669, allocations: 2.353 MB / 0.5092 GB, free: 11.53 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.6691, allocations: 8.031 kB / 0.5092 GB, free: 11.52 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.6713, allocations: 320.5 kB / 0.5095 GB, free: 11.21 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00735/0.6787, allocations: 1.699 MB / 0.5112 GB, free: 9.449 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.679, allocations: 76 kB / 0.5113 GB, free: 9.375 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.68, allocations: 139.9 kB / 0.5114 GB, free: 9.238 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008117/0.6881, allocations: 2.114 MB / 0.5135 GB, free: 7.117 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.6983, allocations: 2.535 MB / 0.5159 GB, free: 4.441 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.6985, allocations: 7.906 kB / 0.516 GB, free: 4.434 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004551/0.6989, allocations: 4 kB / 0.516 GB, free: 4.43 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.6991, allocations: 104.3 kB / 0.5161 GB, free: 4.324 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1762/0.8753, allocations: 8.745 MB / 0.5246 GB, free: 105.4 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.8778, allocations: 0.8561 MB / 0.5254 GB, free: 105.4 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/0.8801, allocations: 0.8601 MB / 0.5263 GB, free: 105.4 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/0.8806, allocations: 222.7 kB / 0.5265 GB, free: 105.2 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.8807, allocations: 44.53 kB / 0.5265 GB, free: 105.2 MB / 402.8 MB Notification: Performance of pre-optimization done (n=110): time 4.459e-06/0.8807, allocations: 0 / 0.5265 GB, free: 105.2 MB / 402.8 MB Notification: Performance of matching and sorting (n=133): time 0.01684/0.8976, allocations: 4.949 MB / 0.5314 GB, free: 104.6 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.8976, allocations: 65.91 kB / 0.5314 GB, free: 104.5 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.9003, allocations: 1.129 MB / 0.5325 GB, free: 104.3 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/0.9007, allocations: 25.7 kB / 0.5326 GB, free: 104.3 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.9011, allocations: 0.8364 MB / 0.5334 GB, free: 103.9 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005525/0.9017, allocations: 451.3 kB / 0.5338 GB, free: 103.6 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.9018, allocations: 0 / 0.5338 GB, free: 103.6 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.902, allocations: 374.9 kB / 0.5342 GB, free: 103.3 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.9037, allocations: 0.7217 MB / 0.5349 GB, free: 103.3 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.9059, allocations: 1.125 MB / 0.536 GB, free: 102.8 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.9082, allocations: 0.9127 MB / 0.5369 GB, free: 102.8 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/0.9083, allocations: 3.812 kB / 0.5369 GB, free: 102.8 MB / 402.8 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.007012/0.9153, allocations: 2.39 MB / 0.5392 GB, free: 102.7 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.9154, allocations: 5.844 kB / 0.5392 GB, free: 102.7 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.524e-05/0.9154, allocations: 14.66 kB / 0.5392 GB, free: 102.7 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00242/0.9179, allocations: 0.5803 MB / 0.5398 GB, free: 102.7 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/0.9208, allocations: 356.2 kB / 0.5401 GB, free: 102.7 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.933, allocations: 6.154 MB / 0.5461 GB, free: 100.1 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.9347, allocations: 66.38 kB / 0.5462 GB, free: 100.1 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.935, allocations: 70.62 kB / 0.5463 GB, free: 100.1 MB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * 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: 2 * 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: 2 {(8,59.4%) 21,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003855/0.9353, allocations: 72.31 kB / 0.5463 GB, free: 100.1 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005784/0.9359, allocations: 163.2 kB / 0.5465 GB, free: 100 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006523/0.9425, allocations: 2.263 MB / 0.5487 GB, free: 99.88 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.9425, allocations: 14.66 kB / 0.5487 GB, free: 99.88 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.9426, allocations: 7.391 kB / 0.5487 GB, free: 99.88 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/0.9426, allocations: 7.078 kB / 0.5487 GB, free: 99.88 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.956, allocations: 4.535 MB / 0.5531 GB, free: 99.38 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/0.9561, allocations: 7.125 kB / 0.5532 GB, free: 99.38 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/0.9581, allocations: 219.8 kB / 0.5534 GB, free: 99.38 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/0.9614, allocations: 0.6291 MB / 0.554 GB, free: 99.35 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003001/0.9617, allocations: 22.7 kB / 0.554 GB, free: 99.35 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.976, allocations: 7.703 MB / 0.5615 GB, free: 95.51 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.9761, allocations: 0 / 0.5615 GB, free: 95.51 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008529/0.9846, allocations: 3.531 MB / 0.565 GB, free: 93.89 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/0.9861, allocations: 407.8 kB / 0.5654 GB, free: 93.63 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005309/0.9866, allocations: 7.75 kB / 0.5654 GB, free: 93.63 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/0.9886, allocations: 66.14 kB / 0.5654 GB, free: 93.63 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.9889, allocations: 79.91 kB / 0.5655 GB, free: 93.62 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.9891, allocations: 38.28 kB / 0.5655 GB, free: 93.61 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.001839/0.9909, allocations: 0.8446 MB / 0.5664 GB, free: 93.25 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.002868/0.9938, allocations: 470.2 kB / 0.5668 GB, free: 93.24 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 101 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008258/0.9947, allocations: 333.3 kB / 0.5671 GB, free: 93.13 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.005863/1.001, allocations: 2.226 MB / 0.5693 GB, free: 92.22 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.001, allocations: 3.375 kB / 0.5693 GB, free: 92.22 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00427/1.005, allocations: 1.379 MB / 0.5707 GB, free: 91.59 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/1.008, allocations: 345.2 kB / 0.571 GB, free: 91.51 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.021, allocations: 3.928 MB / 0.5748 GB, free: 89.9 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002967/1.024, allocations: 2.021 MB / 0.5768 GB, free: 88.97 MB / 402.8 MB Notification: Performance of SimCode: time 1.753e-06/1.024, allocations: 0 / 0.5768 GB, free: 88.97 MB / 402.8 MB Notification: Performance of Templates: time 0.09174/1.115, allocations: 60.5 MB / 0.6359 GB, free: 52.64 MB / 402.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches