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.0009496/0.0009497, allocations: 178.4 kB / 8.697 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.345/1.345, 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.0008453/0.0008453, allocations: 86.7 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.452e-05/1.454e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07835, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/0.3728, allocations: 104.5 MB / 467.6 MB, free: 7.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.3731, allocations: 82.27 kB / 467.7 MB, free: 7.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1015/0.4745, allocations: 38.97 MB / 0.4948 GB, free: 5.879 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4746, allocations: 3.938 kB / 0.4948 GB, free: 5.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001385/0.4747, allocations: 44 kB / 0.4948 GB, free: 5.832 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.003696/0.4784, allocations: 1.748 MB / 0.4965 GB, free: 4.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.4785, allocations: 8.031 kB / 0.4965 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.4793, allocations: 233.4 kB / 0.4968 GB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.4817, allocations: 1.266 MB / 0.498 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.4818, allocations: 60 kB / 0.4981 GB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.482, allocations: 88 kB / 0.4981 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00254/0.4846, allocations: 1.455 MB / 0.4996 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.4874, allocations: 1.734 MB / 0.5013 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/0.4875, allocations: 11.83 kB / 0.5013 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.4876, allocations: 4 kB / 0.5013 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.112e-05/0.4877, allocations: 74.92 kB / 0.5013 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00944/0.4972, allocations: 6.555 MB / 0.5077 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.4978, allocations: 464 kB / 0.5082 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.4982, allocations: 262.1 kB / 0.5084 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002479/0.5007, allocations: 1.412 MB / 0.5098 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.5007, allocations: 38.56 kB / 0.5099 GB, free: 5.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 2.525e-06/0.5007, allocations: 0 / 0.5099 GB, free: 5.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.004712/0.5054, allocations: 2.471 MB / 0.5123 GB, free: 3.355 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5055, allocations: 63.84 kB / 0.5123 GB, free: 3.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.5071, allocations: 1.168 MB / 0.5135 GB, free: 2.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.5072, allocations: 29.7 kB / 0.5135 GB, free: 2.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006673/0.5079, allocations: 1.028 MB / 0.5145 GB, free: 1.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.508, allocations: 201.3 kB / 0.5147 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.5081, allocations: 7.875 kB / 0.5147 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5083, allocations: 366.1 kB / 0.515 GB, free: 468 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.5089, allocations: 463.8 kB / 0.5155 GB, free: 4 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.51, allocations: 1.348 MB / 0.5168 GB, free: 14.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000936/0.5109, allocations: 0.7304 MB / 0.5175 GB, free: 13.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.511, allocations: 8 kB / 0.5175 GB, free: 13.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002719/0.5137, allocations: 1.826 MB / 0.5193 GB, free: 11.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.5137, allocations: 16 kB / 0.5193 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/0.5138, allocations: 36.88 kB / 0.5194 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005002/0.5143, allocations: 226.4 kB / 0.5196 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.5154, allocations: 379.3 kB / 0.5199 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.5168, allocations: 1.685 MB / 0.5216 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.5179, allocations: 95.53 kB / 0.5217 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.5181, allocations: 91.95 kB / 0.5218 GB, free: 8.973 MB / 410.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 () * 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.0002156/0.5183, allocations: 195.9 kB / 0.5219 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.5185, allocations: 134.3 kB / 0.5221 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.5201, allocations: 0.9794 MB / 0.523 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5202, allocations: 8 kB / 0.523 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5202, allocations: 0 / 0.523 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5202, allocations: 3.984 kB / 0.523 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.5247, allocations: 2.9 MB / 0.5259 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.5248, allocations: 8 kB / 0.5259 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.5251, allocations: 87.88 kB / 0.526 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005908/0.5257, allocations: 234.8 kB / 0.5262 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.5258, allocations: 11.92 kB / 0.5262 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/0.529, allocations: 3.59 MB / 0.5297 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1852/0.7142, allocations: 1.917 MB / 0.5316 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.7166, allocations: 1.728 MB / 0.5333 GB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005107/0.7172, allocations: 283.3 kB / 0.5335 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.7173, allocations: 6.438 kB / 0.5335 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/0.7179, allocations: 39.12 kB / 0.5336 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.7181, allocations: 53.14 kB / 0.5336 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.7181, allocations: 18.78 kB / 0.5337 GB, free: 107.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001222/0.7194, allocations: 0.8423 MB / 0.5345 GB, free: 107.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7194, allocations: 0 / 0.5345 GB, free: 107.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001457/0.7208, allocations: 342.1 kB / 0.5348 GB, free: 107.6 MB / 410.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 () * 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.0004416/0.7213, allocations: 343.9 kB / 0.5351 GB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.7233, allocations: 1.431 MB / 0.5365 GB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7233, allocations: 3.656 kB / 0.5365 GB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.7243, allocations: 0.7715 MB / 0.5373 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.7258, allocations: 312.4 kB / 0.5376 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.7294, allocations: 2.321 MB / 0.5398 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.7306, allocations: 1.499 MB / 0.5413 GB, free: 105.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001158/0.7317, allocations: 330.8 kB / 0.5416 GB, free: 105.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.732, allocations: 101.5 kB / 0.5417 GB, free: 105.4 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.732, allocations: 1.531 kB / 0.5417 GB, free: 105.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02567/0.7577, allocations: 16.41 MB / 0.5577 GB, free: 104.4 MB / 410.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/jenkins/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