Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00165/0.00165, allocations: 178.5 kB / 18.04 MB, free: 3.773 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.394/1.394, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007703/0.0007702, allocations: 75.94 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002858, allocations: 16 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2068, allocations: 47.56 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.3264, allocations: 110.2 MB / 487.3 MB, free: 2.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.3267, allocations: 95.94 kB / 487.4 MB, free: 2.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2885/0.6152, allocations: 52.9 MB / 0.5276 GB, free: 90.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6153, allocations: 0 / 0.5276 GB, free: 90.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002248/0.6155, allocations: 79.81 kB / 0.5277 GB, free: 90.55 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.006684/0.6222, allocations: 2.868 MB / 0.5305 GB, free: 87.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.6223, allocations: 15.98 kB / 0.5305 GB, free: 87.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.6236, allocations: 349 kB / 0.5308 GB, free: 87.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/0.6276, allocations: 1.983 MB / 0.5328 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.6277, allocations: 187.4 kB / 0.5329 GB, free: 85.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006023/0.6283, allocations: 250.2 kB / 0.5332 GB, free: 84.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006052/0.6344, allocations: 3.265 MB / 0.5364 GB, free: 81.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.6345, allocations: 8.094 kB / 0.5364 GB, free: 81.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/0.6349, allocations: 110.6 kB / 0.5365 GB, free: 81.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.635, allocations: 124.9 kB / 0.5366 GB, free: 81.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004443/0.6394, allocations: 2.588 MB / 0.5391 GB, free: 78.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/0.654, allocations: 10.49 MB / 0.5494 GB, free: 67.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.6559, allocations: 1.449 MB / 0.5508 GB, free: 66.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009763/0.6569, allocations: 0.7685 MB / 0.5515 GB, free: 65.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.6572, allocations: 218.6 kB / 0.5517 GB, free: 65.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.6572, allocations: 47.56 kB / 0.5518 GB, free: 65.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 3.907e-06/0.6572, allocations: 0 / 0.5518 GB, free: 65.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.0142/0.6714, allocations: 7.125 MB / 0.5587 GB, free: 57.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.6715, allocations: 64.72 kB / 0.5588 GB, free: 57.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/0.6741, allocations: 1.747 MB / 0.5605 GB, free: 56.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.6743, allocations: 49.7 kB / 0.5606 GB, free: 56.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000587/0.6749, allocations: 1.271 MB / 0.5618 GB, free: 54.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.6752, allocations: 454.8 kB / 0.5622 GB, free: 54.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.6753, allocations: 35.94 kB / 0.5623 GB, free: 54.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.6754, allocations: 373.9 kB / 0.5626 GB, free: 53.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.6764, allocations: 0.8003 MB / 0.5634 GB, free: 53.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.6777, allocations: 1.323 MB / 0.5647 GB, free: 51.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.6801, allocations: 2.274 MB / 0.5669 GB, free: 49.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.6801, allocations: 4 kB / 0.5669 GB, free: 49.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003523/0.6837, allocations: 2.544 MB / 0.5694 GB, free: 46.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.6837, allocations: 12 kB / 0.5694 GB, free: 46.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.6837, allocations: 19.98 kB / 0.5694 GB, free: 46.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.6843, allocations: 243.2 kB / 0.5697 GB, free: 46.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.6857, allocations: 443.5 kB / 0.5701 GB, free: 45.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.688, allocations: 3.004 MB / 0.573 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.6903, allocations: 135.8 kB / 0.5732 GB, free: 42.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/0.6906, allocations: 68 kB / 0.5732 GB, free: 42.38 MB / 378.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 () * Number of clocked 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.00206/0.6927, allocations: 0.8351 MB / 0.574 GB, free: 41.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.6931, allocations: 185.7 kB / 0.5742 GB, free: 41.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.6963, allocations: 2.125 MB / 0.5763 GB, free: 39.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6963, allocations: 12 kB / 0.5763 GB, free: 39.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.6963, allocations: 7.938 kB / 0.5763 GB, free: 39.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.6964, allocations: 7.969 kB / 0.5763 GB, free: 39.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007648/0.704, allocations: 4.864 MB / 0.5811 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7041, allocations: 0 / 0.5811 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.7051, allocations: 291.5 kB / 0.5813 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.7056, allocations: 207.5 kB / 0.5815 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.7058, allocations: 24 kB / 0.5816 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.7074, allocations: 2.982 MB / 0.5845 GB, free: 30.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7075, allocations: 7.938 kB / 0.5845 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/0.7114, allocations: 3.265 MB / 0.5877 GB, free: 27.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009691/0.7124, allocations: 442.6 kB / 0.5881 GB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/0.7129, allocations: 28 kB / 0.5881 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.7141, allocations: 99.86 kB / 0.5882 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.7143, allocations: 88.83 kB / 0.5883 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-05/0.7144, allocations: 39.98 kB / 0.5883 GB, free: 26.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001927/0.7163, allocations: 1.181 MB / 0.5895 GB, free: 25.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7163, allocations: 4 kB / 0.5895 GB, free: 25.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001994/0.7183, allocations: 0.5234 MB / 0.59 GB, free: 24.74 MB / 378.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 () * Number of clocked 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.0006686/0.719, allocations: 415.6 kB / 0.5904 GB, free: 24.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.7226, allocations: 2.423 MB / 0.5928 GB, free: 21.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7226, allocations: 0 / 0.5928 GB, free: 21.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.7243, allocations: 1.381 MB / 0.5941 GB, free: 20.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/0.7277, allocations: 466.3 kB / 0.5946 GB, free: 19.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/0.7359, allocations: 5.88 MB / 0.6003 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/0.7379, allocations: 2.011 MB / 0.6023 GB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001744/0.7397, allocations: 0.516 MB / 0.6028 GB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/0.7402, allocations: 147.4 kB / 0.6029 GB, free: 11.32 MB / 378.7 MB Notification: Performance of SimCode: time 6.02e-07/0.7402, allocations: 3.938 kB / 0.6029 GB, free: 11.32 MB / 378.7 MB Notification: Performance of Templates: time 0.04549/0.7857, allocations: 27.51 MB / 0.6298 GB, free: 15.8 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches