Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 180.4 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009401/0.0009401, allocations: 101 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002877, allocations: 4 kB / 328.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3123, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.4628, allocations: 113.3 MB / 489.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.4631, allocations: 95.95 kB / 489.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4483/0.9115, allocations: 58.33 MB / 0.5347 GB, free: 83.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.9115, allocations: 0 / 0.5347 GB, free: 83.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005662/0.9121, allocations: 91.81 kB / 0.5348 GB, free: 83.21 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.0117/0.9239, allocations: 3.256 MB / 0.538 GB, free: 79.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.9239, allocations: 8.031 kB / 0.538 GB, free: 79.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.9263, allocations: 399.6 kB / 0.5384 GB, free: 79.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006442/0.9328, allocations: 2.192 MB / 0.5405 GB, free: 77.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.933, allocations: 213.7 kB / 0.5407 GB, free: 77.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004465/0.9334, allocations: 283.9 kB / 0.541 GB, free: 76.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005357/0.9388, allocations: 3.668 MB / 0.5446 GB, free: 72.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.276e-05/0.9389, allocations: 7.906 kB / 0.5446 GB, free: 72.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.9391, allocations: 123.9 kB / 0.5447 GB, free: 72.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.9392, allocations: 133.5 kB / 0.5448 GB, free: 72.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003899/0.9431, allocations: 2.942 MB / 0.5477 GB, free: 69.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.9586, allocations: 11.69 MB / 0.5591 GB, free: 57.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.9609, allocations: 1.973 MB / 0.561 GB, free: 55.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.9613, allocations: 227.4 kB / 0.5612 GB, free: 55.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.9613, allocations: 43.88 kB / 0.5613 GB, free: 55.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.679e-06/0.9613, allocations: 0 / 0.5613 GB, free: 55.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=149): time 0.01517/0.9765, allocations: 7.638 MB / 0.5687 GB, free: 47.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.9766, allocations: 68.72 kB / 0.5688 GB, free: 47.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.9797, allocations: 1.742 MB / 0.5705 GB, free: 45.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002367/0.98, allocations: 49.7 kB / 0.5706 GB, free: 45.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007894/0.9808, allocations: 1.401 MB / 0.5719 GB, free: 44.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.9812, allocations: 0.5083 MB / 0.5724 GB, free: 43.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/0.9813, allocations: 36 kB / 0.5725 GB, free: 43.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.9814, allocations: 377.9 kB / 0.5728 GB, free: 43.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.9826, allocations: 0.8901 MB / 0.5737 GB, free: 42.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.984, allocations: 1.415 MB / 0.5751 GB, free: 40.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.9853, allocations: 1.131 MB / 0.5762 GB, free: 39.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.9853, allocations: 4 kB / 0.5762 GB, free: 39.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00476/0.9901, allocations: 3.05 MB / 0.5792 GB, free: 36.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.9902, allocations: 14.19 kB / 0.5792 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.9902, allocations: 16 kB / 0.5792 GB, free: 36.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.9915, allocations: 0.5531 MB / 0.5797 GB, free: 35.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.993, allocations: 435.3 kB / 0.5801 GB, free: 35.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006204/0.9992, allocations: 6.479 MB / 0.5865 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/1.002, allocations: 139.8 kB / 0.5866 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/1.002, allocations: 83.94 kB / 0.5867 GB, free: 28.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 206 * 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 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002007/1.004, allocations: 0.9079 MB / 0.5876 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000557/1.004, allocations: 213.4 kB / 0.5878 GB, free: 27.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/1.009, allocations: 2.684 MB / 0.5904 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/1.009, allocations: 16 kB / 0.5904 GB, free: 24.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.009, allocations: 4 kB / 0.5904 GB, free: 24.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/1.009, allocations: 11.92 kB / 0.5904 GB, free: 24.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009106/1.018, allocations: 5.756 MB / 0.596 GB, free: 18.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.018, allocations: 288 / 0.596 GB, free: 18.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.019, allocations: 263.6 kB / 0.5963 GB, free: 18.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/1.02, allocations: 0.5761 MB / 0.5969 GB, free: 17.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.02, allocations: 39.94 kB / 0.5969 GB, free: 17.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006987/1.027, allocations: 8.212 MB / 0.6049 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.027, allocations: 0 / 0.6049 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005333/1.033, allocations: 4.055 MB / 0.6089 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/1.034, allocations: 0.4903 MB / 0.6094 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/1.034, allocations: 39.94 kB / 0.6094 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.036, allocations: 95.88 kB / 0.6095 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/1.036, allocations: 117.1 kB / 0.6096 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-05/1.036, allocations: 40.48 kB / 0.6096 GB, free: 4.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001881/1.038, allocations: 1.33 MB / 0.6109 GB, free: 2.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.038, allocations: 0 / 0.6109 GB, free: 2.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003861/1.042, allocations: 0.6172 MB / 0.6115 GB, free: 2.355 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 120 * 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 {(5,76.0%) 20,(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.0008652/1.043, allocations: 410.5 kB / 0.6119 GB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00592/1.048, allocations: 2.643 MB / 0.6145 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.049, allocations: 1.875 kB / 0.6145 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003701/1.052, allocations: 1.584 MB / 0.6161 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/1.056, allocations: 0.4903 MB / 0.6165 GB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.073, allocations: 6.793 MB / 0.6232 GB, free: 6.309 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/1.076, allocations: 2.268 MB / 0.6254 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002867/1.079, allocations: 0.4941 MB / 0.6259 GB, free: 3.512 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006825/1.079, allocations: 151.4 kB / 0.626 GB, free: 3.363 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/1.079, allocations: 0 / 0.626 GB, free: 3.363 MB / 394.7 MB Notification: Performance of Templates: time 0.4006/1.48, allocations: 32.81 MB / 0.6581 GB, free: 97.71 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_VoltageSource/SMPM_VoltageSource.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches