Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 183.4 kB / 18.05 MB, free: 3.535 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.367/1.367, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.0007125/0.0007126, allocations: 84.56 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2018, allocations: 47.57 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.3165, allocations: 105.3 MB / 482.3 MB, free: 7.242 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.3169, allocations: 87.95 kB / 482.4 MB, free: 7.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2582/0.5751, allocations: 39.49 MB / 0.5096 GB, free: 98.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5751, allocations: 0 / 0.5096 GB, free: 98.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001378/0.5753, allocations: 42.69 kB / 0.5097 GB, free: 98.4 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004009/0.5793, allocations: 1.94 MB / 0.5116 GB, free: 97.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5793, allocations: 7.75 kB / 0.5116 GB, free: 97.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007503/0.5801, allocations: 240.9 kB / 0.5118 GB, free: 97.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.5825, allocations: 1.32 MB / 0.5131 GB, free: 96.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/0.5826, allocations: 113 kB / 0.5132 GB, free: 96.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.5829, allocations: 159.8 kB / 0.5133 GB, free: 96.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/0.5859, allocations: 1.989 MB / 0.5153 GB, free: 95.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-05/0.586, allocations: 8.062 kB / 0.5153 GB, free: 95.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.5862, allocations: 77.09 kB / 0.5154 GB, free: 95.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.255e-05/0.5862, allocations: 76.5 kB / 0.5154 GB, free: 95.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.5885, allocations: 1.575 MB / 0.517 GB, free: 94.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007909/0.5965, allocations: 6.863 MB / 0.5237 GB, free: 90.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.5971, allocations: 494.4 kB / 0.5242 GB, free: 90.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.5974, allocations: 282.8 kB / 0.5244 GB, free: 90.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002056/0.5995, allocations: 1.464 MB / 0.5259 GB, free: 89.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.5995, allocations: 42.19 kB / 0.5259 GB, free: 89.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.844e-06/0.5995, allocations: 0 / 0.5259 GB, free: 89.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.005736/0.6053, allocations: 3.134 MB / 0.529 GB, free: 87.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001625/0.6069, allocations: 2.16 MB / 0.5311 GB, free: 85.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.6086, allocations: 1.568 MB / 0.5326 GB, free: 83.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.6086, allocations: 41.64 kB / 0.5326 GB, free: 83.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.6091, allocations: 1.029 MB / 0.5336 GB, free: 82.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.6092, allocations: 205.2 kB / 0.5338 GB, free: 82.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.6093, allocations: 39.97 kB / 0.5339 GB, free: 82.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.6093, allocations: 373.8 kB / 0.5342 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.61, allocations: 499.7 kB / 0.5347 GB, free: 81.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008909/0.6109, allocations: 1.41 MB / 0.5361 GB, free: 79.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.6125, allocations: 2.044 MB / 0.5381 GB, free: 77.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.6125, allocations: 8 kB / 0.5381 GB, free: 77.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002465/0.615, allocations: 2.079 MB / 0.5401 GB, free: 75.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.6151, allocations: 20 kB / 0.5401 GB, free: 75.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.6151, allocations: 32 kB / 0.5402 GB, free: 75.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004159/0.6155, allocations: 226.3 kB / 0.5404 GB, free: 74.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/0.6165, allocations: 379.3 kB / 0.5408 GB, free: 74.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.6176, allocations: 1.745 MB / 0.5425 GB, free: 72.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.6187, allocations: 127.5 kB / 0.5426 GB, free: 72.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.75e-05/0.6188, allocations: 95.98 kB / 0.5427 GB, free: 72.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * 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 (195): * Single equations (assignments): 192 * 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: 1 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006556/0.6194, allocations: 0.5843 MB / 0.5432 GB, free: 71.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.6196, allocations: 150.1 kB / 0.5434 GB, free: 71.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.621, allocations: 1.055 MB / 0.5444 GB, free: 70.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6211, allocations: 4 kB / 0.5444 GB, free: 70.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6211, allocations: 4 kB / 0.5444 GB, free: 70.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.6211, allocations: 0 / 0.5444 GB, free: 70.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.6249, allocations: 3.104 MB / 0.5475 GB, free: 67.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.625, allocations: 4.406 kB / 0.5475 GB, free: 67.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.6253, allocations: 103.9 kB / 0.5476 GB, free: 67.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/0.6258, allocations: 226.4 kB / 0.5478 GB, free: 67.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.6259, allocations: 16 kB / 0.5478 GB, free: 67.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.6285, allocations: 3.728 MB / 0.5514 GB, free: 63.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001394/0.6299, allocations: 2.018 MB / 0.5534 GB, free: 60.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.6317, allocations: 1.622 MB / 0.555 GB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/0.6321, allocations: 299.1 kB / 0.5553 GB, free: 58.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.6323, allocations: 15.98 kB / 0.5553 GB, free: 58.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/0.6329, allocations: 39.95 kB / 0.5553 GB, free: 58.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.633, allocations: 63.86 kB / 0.5554 GB, free: 58.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.6331, allocations: 16 kB / 0.5554 GB, free: 58.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001174/0.6343, allocations: 1.027 MB / 0.5564 GB, free: 57.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6343, allocations: 0 / 0.5564 GB, free: 57.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001301/0.6356, allocations: 415.9 kB / 0.5568 GB, free: 57.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 ($STATESET1.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 (49): * Single equations (assignments): 46 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003679/0.636, allocations: 362.4 kB / 0.5571 GB, free: 57.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.6378, allocations: 1.54 MB / 0.5586 GB, free: 55.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6378, allocations: 4.25 kB / 0.5586 GB, free: 55.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009956/0.6388, allocations: 0.8082 MB / 0.5594 GB, free: 54.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.641, allocations: 387.5 kB / 0.5598 GB, free: 54.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.6449, allocations: 3.603 MB / 0.5633 GB, free: 50.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008942/0.6458, allocations: 1.464 MB / 0.5648 GB, free: 49.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009872/0.6468, allocations: 345.7 kB / 0.5651 GB, free: 48.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.6471, allocations: 111.4 kB / 0.5652 GB, free: 48.62 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.6471, allocations: 3.938 kB / 0.5652 GB, free: 48.61 MB / 378.7 MB Notification: Performance of Templates: time 0.03204/0.6791, allocations: 21.72 MB / 0.5864 GB, free: 26.9 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_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_NoLoad/SMPM_NoLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches