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_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002176/0.002176, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001136/0.001136, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.882e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09211, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5439, allocations: 109.9 MB / 479 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.5442, allocations: 87.27 kB / 479.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2318/0.7761, allocations: 53.01 MB / 0.5196 GB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7761, allocations: 4 kB / 0.5196 GB, free: 11.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003504/0.7765, allocations: 71.88 kB / 0.5197 GB, free: 11.75 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.009757/0.7863, allocations: 2.593 MB / 0.5222 GB, free: 9.098 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.7864, allocations: 11.98 kB / 0.5222 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.7883, allocations: 348.1 kB / 0.5226 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007074/0.7954, allocations: 1.904 MB / 0.5244 GB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.7958, allocations: 185 kB / 0.5246 GB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.7969, allocations: 252.2 kB / 0.5249 GB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.8076, allocations: 3.198 MB / 0.528 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/0.8078, allocations: 11.91 kB / 0.528 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006051/0.8084, allocations: 104 kB / 0.5281 GB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/0.8086, allocations: 116.9 kB / 0.5282 GB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008912/0.8175, allocations: 2.526 MB / 0.5307 GB, free: 240 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3059/1.123, allocations: 10.49 MB / 0.5409 GB, free: 94.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/1.127, allocations: 1.411 MB / 0.5423 GB, free: 94.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/1.129, allocations: 0.7441 MB / 0.543 GB, free: 94.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005137/1.13, allocations: 223 kB / 0.5432 GB, free: 94.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/1.13, allocations: 42.75 kB / 0.5433 GB, free: 93.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 4.268e-06/1.13, allocations: 0 / 0.5433 GB, free: 93.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.02515/1.155, allocations: 6.155 MB / 0.5493 GB, free: 93.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.155, allocations: 65.94 kB / 0.5493 GB, free: 93.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/1.159, allocations: 1.537 MB / 0.5508 GB, free: 92.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003295/1.16, allocations: 47.33 kB / 0.5509 GB, free: 92.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009257/1.161, allocations: 1.199 MB / 0.5521 GB, free: 92.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006169/1.161, allocations: 462.2 kB / 0.5525 GB, free: 92.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/1.161, allocations: 28.91 kB / 0.5525 GB, free: 92.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/1.161, allocations: 376.5 kB / 0.5529 GB, free: 91.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/1.163, allocations: 0.7772 MB / 0.5536 GB, free: 91.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/1.165, allocations: 1.295 MB / 0.5549 GB, free: 91.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/1.168, allocations: 0.9958 MB / 0.5559 GB, free: 91.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/1.168, allocations: 7.875 kB / 0.5559 GB, free: 91.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.005984/1.174, allocations: 2.369 MB / 0.5582 GB, free: 90.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/1.174, allocations: 11.5 kB / 0.5582 GB, free: 90.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/1.174, allocations: 19.28 kB / 0.5582 GB, free: 90.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009822/1.175, allocations: 246.4 kB / 0.5585 GB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/1.178, allocations: 441.7 kB / 0.5589 GB, free: 90.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/1.181, allocations: 2.999 MB / 0.5618 GB, free: 87.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/1.184, allocations: 131.5 kB / 0.5619 GB, free: 87.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/1.184, allocations: 78 kB / 0.562 GB, free: 87.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 202 * 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 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004396/1.185, allocations: 211 kB / 0.5622 GB, free: 87.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006068/1.186, allocations: 189.8 kB / 0.5624 GB, free: 87.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/1.191, allocations: 2.1 MB / 0.5645 GB, free: 86.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/1.191, allocations: 13.72 kB / 0.5645 GB, free: 86.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.191, allocations: 3.656 kB / 0.5645 GB, free: 86.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/1.191, allocations: 3.797 kB / 0.5645 GB, free: 86.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/1.204, allocations: 4.829 MB / 0.5692 GB, free: 84.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.204, allocations: 0 / 0.5692 GB, free: 84.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.206, allocations: 288 kB / 0.5695 GB, free: 84.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009087/1.207, allocations: 206.1 kB / 0.5697 GB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/1.208, allocations: 30.86 kB / 0.5697 GB, free: 84.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/1.21, allocations: 2.958 MB / 0.5726 GB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.211, allocations: 7.75 kB / 0.5726 GB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007221/1.218, allocations: 3.361 MB / 0.5759 GB, free: 80.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.219, allocations: 444.8 kB / 0.5763 GB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005217/1.22, allocations: 30.11 kB / 0.5763 GB, free: 80 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/1.222, allocations: 99.94 kB / 0.5764 GB, free: 79.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/1.222, allocations: 79.81 kB / 0.5765 GB, free: 79.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.222, allocations: 43.02 kB / 0.5765 GB, free: 79.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002678/1.225, allocations: 1.168 MB / 0.5777 GB, free: 79.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.225, allocations: 0 / 0.5777 GB, free: 79.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002863/1.228, allocations: 0.5193 MB / 0.5782 GB, free: 79.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * 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 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009326/1.229, allocations: 415.8 kB / 0.5786 GB, free: 79.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005358/1.234, allocations: 2.369 MB / 0.5809 GB, free: 78.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.234, allocations: 0 / 0.5809 GB, free: 78.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002982/1.237, allocations: 1.357 MB / 0.5822 GB, free: 77.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/1.241, allocations: 463 kB / 0.5827 GB, free: 77.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/1.252, allocations: 4.009 MB / 0.5866 GB, free: 75.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002265/1.254, allocations: 2.029 MB / 0.5886 GB, free: 74.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.255, allocations: 156.3 kB / 0.5887 GB, free: 74.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/1.255, allocations: 0 / 0.5887 GB, free: 74.67 MB / 410.7 MB Notification: Performance of Templates: time 0.1217/1.377, allocations: 79.6 MB / 0.6664 GB, free: 9.082 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_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_CurrentSource/SMPM_CurrentSource.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches