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_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_cpp_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_cpp_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.001096/0.001096, allocations: 176.9 kB / 16.41 MB, free: 5.727 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.396/1.396, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007603/0.0007605, allocations: 81.33 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2472, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.007284/0.2546, allocations: 7.924 MB / 382.5 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005778/0.2604, allocations: 3.005 MB / 385.5 MB, free: 36.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.2615, allocations: 36.16 kB / 385.5 MB, free: 36.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.2629, allocations: 0.5387 MB / 386.1 MB, free: 36.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.2645, allocations: 0.5934 MB / 386.6 MB, free: 35.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.265, allocations: 214.9 kB / 386.9 MB, free: 35.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002169/0.2672, allocations: 2.17 MB / 389 MB, free: 34.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009895/0.2682, allocations: 0.9607 MB / 390 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008114/0.269, allocations: 0.7042 MB / 390.7 MB, free: 32.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009754/0.27, allocations: 0.9534 MB / 391.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.2702, allocations: 100 kB / 391.7 MB, free: 31.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.2706, allocations: 179.9 kB / 391.9 MB, free: 31.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003996/0.271, allocations: 0.5257 MB / 392.4 MB, free: 30.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.2713, allocations: 400.7 kB / 392.8 MB, free: 30.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.2727, allocations: 2.49 MB / 395.3 MB, free: 27.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2727, allocations: 0 / 395.3 MB, free: 27.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2727, allocations: 4 kB / 395.3 MB, free: 27.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.756e-05/0.2728, allocations: 0 / 395.3 MB, free: 27.97 MB / 298.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.002952/0.2757, allocations: 1.95 MB / 397.3 MB, free: 25.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2758, allocations: 8.031 kB / 397.3 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005829/0.2764, allocations: 229.4 kB / 397.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2781, allocations: 1.11 MB / 398.6 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.942e-05/0.2781, allocations: 127.1 kB / 398.7 MB, free: 24.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.2784, allocations: 148 kB / 398.9 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/0.2814, allocations: 1.989 MB / 400.9 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.2815, allocations: 11.91 kB / 400.9 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.2816, allocations: 60 kB / 400.9 MB, free: 22.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.369e-05/0.2817, allocations: 74.92 kB / 401 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.2841, allocations: 1.639 MB / 402.7 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006995/0.2911, allocations: 6.973 MB / 409.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.2917, allocations: 449.2 kB / 410.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.292, allocations: 258 kB / 410.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.2922, allocations: 117.5 kB / 410.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.2922, allocations: 35.38 kB / 410.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.335e-06/0.2922, allocations: 0 / 410.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.005634/0.2979, allocations: 3.296 MB / 413.8 MB, free: 8.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001782/0.2997, allocations: 2.17 MB / 415.9 MB, free: 6.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.3013, allocations: 1.596 MB / 417.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.3014, allocations: 33.7 kB / 417.6 MB, free: 4.934 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.3019, allocations: 1.033 MB / 418.6 MB, free: 3.887 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.302, allocations: 236.8 kB / 418.8 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.3021, allocations: 36 kB / 418.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.3022, allocations: 369.9 kB / 419.2 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/0.3028, allocations: 0.5075 MB / 419.7 MB, free: 2.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009413/0.3038, allocations: 1.457 MB / 421.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008514/0.3046, allocations: 0.7969 MB / 422 MB, free: 20 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.3046, allocations: 12 kB / 422 MB, free: 8 kB / 298.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003045/0.3077, allocations: 2.146 MB / 424.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.3077, allocations: 16 kB / 424.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.3078, allocations: 36 kB / 424.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004978/0.3083, allocations: 230.8 kB / 424.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.3094, allocations: 399.3 kB / 424.8 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.3109, allocations: 1.714 MB / 426.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.3121, allocations: 131.4 kB / 426.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.3122, allocations: 104 kB / 426.8 MB, free: 11.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * 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.0008917/0.3131, allocations: 0.5902 MB / 427.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.3134, allocations: 154.1 kB / 427.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.3151, allocations: 1.102 MB / 428.6 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3152, allocations: 7.984 kB / 428.6 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3152, allocations: 4.188 kB / 428.6 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3152, allocations: 8 kB / 428.6 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00488/0.3201, allocations: 3.379 MB / 432 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.517e-06/0.3201, allocations: 8 kB / 432 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.3205, allocations: 115.8 kB / 432.1 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005941/0.3211, allocations: 230.7 kB / 432.3 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.3212, allocations: 20 kB / 432.4 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.3246, allocations: 3.686 MB / 436.1 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00177/0.3264, allocations: 2.021 MB / 438.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.3287, allocations: 1.73 MB / 439.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.3292, allocations: 311.1 kB / 440.1 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.3294, allocations: 16 kB / 440.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/0.33, allocations: 63.94 kB / 440.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.3301, allocations: 55.83 kB / 440.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.3302, allocations: 27.98 kB / 440.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00149/0.3317, allocations: 1.055 MB / 441.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3317, allocations: 4 kB / 441.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001493/0.3332, allocations: 380 kB / 441.7 MB, free: 11.42 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 54 * 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.0002557/0.3334, allocations: 139 kB / 441.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00219/0.3356, allocations: 1.593 MB / 443.4 MB, free: 9.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3356, allocations: 1.125 kB / 443.4 MB, free: 9.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.3368, allocations: 0.8278 MB / 444.3 MB, free: 8.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.3384, allocations: 393.9 kB / 444.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/0.3434, allocations: 3.754 MB / 448.4 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.3445, allocations: 1.465 MB / 449.9 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.3448, allocations: 119.4 kB / 450 MB, free: 2.898 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3448, allocations: 0 / 450 MB, free: 2.898 MB / 330.7 MB Notification: Performance of Templates: time 0.05682/0.4016, allocations: 46.87 MB / 496.8 MB, free: 3.98 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches