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.001484/0.001484, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 82.7 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.187e-05/1.19e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0769/0.07693, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.3909, allocations: 112.8 MB / 475.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.3912, allocations: 81.08 kB / 475.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1491/0.5403, allocations: 57.65 MB / 0.5211 GB, free: 10.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5404, allocations: 4 kB / 0.5211 GB, free: 10.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000213/0.5406, allocations: 83.88 kB / 0.5212 GB, free: 10.73 MB / 410.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.006342/0.5469, allocations: 2.884 MB / 0.524 GB, free: 7.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.547, allocations: 8.031 kB / 0.524 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.5486, allocations: 403.5 kB / 0.5244 GB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004533/0.5531, allocations: 2.164 MB / 0.5265 GB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.5532, allocations: 92.34 kB / 0.5266 GB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003533/0.5536, allocations: 171.9 kB / 0.5267 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004581/0.5582, allocations: 2.69 MB / 0.5294 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.21/0.7682, allocations: 3.186 MB / 0.5325 GB, free: 93.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-05/0.7683, allocations: 4.188 kB / 0.5325 GB, free: 93.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002262/0.7685, allocations: 3.906 kB / 0.5325 GB, free: 93.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.7687, allocations: 133.5 kB / 0.5326 GB, free: 93.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.7864, allocations: 11.14 MB / 0.5435 GB, free: 91.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.7886, allocations: 1.943 MB / 0.5454 GB, free: 90.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.7898, allocations: 0.9045 MB / 0.5463 GB, free: 90.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/0.7902, allocations: 227.6 kB / 0.5465 GB, free: 90.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.7902, allocations: 49.5 kB / 0.5465 GB, free: 90.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 3.787e-06/0.7902, allocations: 0 / 0.5465 GB, free: 90.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.009666/0.7999, allocations: 5.574 MB / 0.552 GB, free: 89.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.7999, allocations: 68.81 kB / 0.5521 GB, free: 89.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.8017, allocations: 1.472 MB / 0.5535 GB, free: 89.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.765e-05/0.8018, allocations: 25.7 kB / 0.5535 GB, free: 89.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006479/0.8024, allocations: 1.401 MB / 0.5549 GB, free: 88.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.8027, allocations: 0.5037 MB / 0.5554 GB, free: 88.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.8028, allocations: 6.406 kB / 0.5554 GB, free: 88.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8029, allocations: 384.3 kB / 0.5557 GB, free: 88.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009195/0.8038, allocations: 0.8302 MB / 0.5566 GB, free: 88.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.8049, allocations: 1.359 MB / 0.5579 GB, free: 87.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.8061, allocations: 1.079 MB / 0.5589 GB, free: 87.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.8062, allocations: 11.52 kB / 0.559 GB, free: 87.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.003766/0.8099, allocations: 2.82 MB / 0.5617 GB, free: 87.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.81, allocations: 11.28 kB / 0.5617 GB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.81, allocations: 18.03 kB / 0.5617 GB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.8112, allocations: 0.5393 MB / 0.5623 GB, free: 87.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.8126, allocations: 450.5 kB / 0.5627 GB, free: 87.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.818, allocations: 6.01 MB / 0.5686 GB, free: 83.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.8197, allocations: 98.72 kB / 0.5687 GB, free: 83.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.8198, allocations: 88.45 kB / 0.5687 GB, free: 83.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 212 * 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.0003209/0.8201, allocations: 160 kB / 0.5689 GB, free: 83.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.8205, allocations: 198 kB / 0.5691 GB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.8243, allocations: 2.522 MB / 0.5715 GB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.8243, allocations: 14.97 kB / 0.5716 GB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8243, allocations: 7.688 kB / 0.5716 GB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.8243, allocations: 11.61 kB / 0.5716 GB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/0.832, allocations: 5.3 MB / 0.5767 GB, free: 80.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.832, allocations: 3.969 kB / 0.5768 GB, free: 80.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.8331, allocations: 273.2 kB / 0.577 GB, free: 80.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.8344, allocations: 0.5798 MB / 0.5776 GB, free: 80.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.433e-05/0.8345, allocations: 16.16 kB / 0.5776 GB, free: 80.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006556/0.8411, allocations: 7.675 MB / 0.5851 GB, free: 74.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.8411, allocations: 3.812 kB / 0.5851 GB, free: 74.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.8457, allocations: 3.977 MB / 0.589 GB, free: 73.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008435/0.8466, allocations: 475.3 kB / 0.5894 GB, free: 72.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.8468, allocations: 15.14 kB / 0.5894 GB, free: 72.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009911/0.8478, allocations: 83.81 kB / 0.5895 GB, free: 72.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.848, allocations: 113 kB / 0.5896 GB, free: 72.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-05/0.8481, allocations: 51.23 kB / 0.5897 GB, free: 72.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001419/0.8496, allocations: 1.097 MB / 0.5908 GB, free: 72.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8496, allocations: 0 / 0.5908 GB, free: 72.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002019/0.8516, allocations: 0.5318 MB / 0.5913 GB, free: 72.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 124 * 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.0005446/0.8521, allocations: 379.4 kB / 0.5916 GB, free: 72.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002902/0.8551, allocations: 2.502 MB / 0.5941 GB, free: 71.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8551, allocations: 4 kB / 0.5941 GB, free: 71.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.8569, allocations: 1.545 MB / 0.5956 GB, free: 70.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.8587, allocations: 407.7 kB / 0.596 GB, free: 70.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/0.8652, allocations: 4.565 MB / 0.6004 GB, free: 68.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.8669, allocations: 2.27 MB / 0.6027 GB, free: 67.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001607/0.8685, allocations: 0.4999 MB / 0.6031 GB, free: 67.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/0.8689, allocations: 150.8 kB / 0.6033 GB, free: 67.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.8689, allocations: 0 / 0.6033 GB, free: 67.22 MB / 410.7 MB Notification: Performance of Templates: time 0.03851/0.9074, allocations: 26.73 MB / 0.6294 GB, free: 50.12 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