Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009711/0.000971, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.4/1.4, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008274/0.0008275, allocations: 96.95 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003349, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2418, allocations: 47.58 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.009941/0.2518, allocations: 10.09 MB / 384.7 MB, free: 37.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008254/0.2601, allocations: 3.691 MB / 388.3 MB, free: 34.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.2624, allocations: 51.47 kB / 388.4 MB, free: 34.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.2645, allocations: 0.6709 MB / 389.1 MB, free: 33.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.2676, allocations: 0.8051 MB / 389.9 MB, free: 33.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.2688, allocations: 338.4 kB / 390.2 MB, free: 33.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003787/0.2726, allocations: 3.264 MB / 393.5 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.2745, allocations: 1.695 MB / 395.2 MB, free: 28.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.2761, allocations: 1.074 MB / 396.2 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.2777, allocations: 1.475 MB / 397.7 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003034/0.278, allocations: 164 kB / 397.9 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008639/0.2789, allocations: 371.6 kB / 398.2 MB, free: 25.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006319/0.2795, allocations: 0.7943 MB / 399 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006274/0.2802, allocations: 0.5822 MB / 399.6 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.283, allocations: 4.029 MB / 403.6 MB, free: 19.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.283, allocations: 0 / 403.6 MB, free: 19.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.283, allocations: 0 / 403.6 MB, free: 19.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.307e-05/0.2831, allocations: 0 / 403.6 MB, free: 19.65 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.005412/0.2885, allocations: 2.985 MB / 406.6 MB, free: 16.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2885, allocations: 8.031 kB / 406.6 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.2897, allocations: 412.1 kB / 407 MB, free: 16.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.2922, allocations: 1.659 MB / 408.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.2923, allocations: 197 kB / 408.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.2926, allocations: 255.9 kB / 409.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004637/0.2973, allocations: 3.235 MB / 412.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.539e-05/0.2973, allocations: 11.86 kB / 412.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.2975, allocations: 100 kB / 412.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.2977, allocations: 124.9 kB / 412.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004183/0.3018, allocations: 2.701 MB / 415.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.3166, allocations: 10.43 MB / 425.7 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/0.3191, allocations: 1.786 MB / 427.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.321, allocations: 1.065 MB / 428.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/0.3213, allocations: 203.2 kB / 428.8 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.3213, allocations: 43.56 kB / 428.8 MB, free: 9.746 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 3.767e-06/0.3213, allocations: 0 / 428.8 MB, free: 9.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=134): time 0.0191/0.3405, allocations: 7.766 MB / 436.6 MB, free: 1.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3406, allocations: 68.72 kB / 436.7 MB, free: 1.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.3436, allocations: 1.857 MB / 438.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.3439, allocations: 49.7 kB / 438.6 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000986/0.3449, allocations: 1.245 MB / 439.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004869/0.3454, allocations: 473.2 kB / 440.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/0.3455, allocations: 32 kB / 440.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3457, allocations: 369.9 kB / 440.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.3472, allocations: 0.8198 MB / 441.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.3489, allocations: 1.328 MB / 442.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.3505, allocations: 1.017 MB / 443.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.3505, allocations: 4 kB / 443.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005118/0.3557, allocations: 2.818 MB / 446.7 MB, free: 7.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.3557, allocations: 12 kB / 446.7 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.3557, allocations: 12 kB / 446.7 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.3568, allocations: 422.5 kB / 447.1 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.3583, allocations: 407.3 kB / 447.5 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/0.3642, allocations: 5.292 MB / 452.8 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.366, allocations: 135.7 kB / 452.9 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.3662, allocations: 76.14 kB / 453 MB, free: 0.875 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * 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: 2 {(3,100.0%) 12,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001627/0.3678, allocations: 0.7862 MB / 453.8 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/0.3683, allocations: 197.8 kB / 454 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.3725, allocations: 2.41 MB / 456.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.41e-05/0.3725, allocations: 16 kB / 456.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.3726, allocations: 4 kB / 456.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.3726, allocations: 7.969 kB / 456.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008989/0.3816, allocations: 5.313 MB / 461.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.3816, allocations: 8 kB / 461.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.3827, allocations: 264.2 kB / 462 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.3839, allocations: 454.2 kB / 462.4 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.384, allocations: 39.95 kB / 462.5 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/0.3906, allocations: 6.731 MB / 469.2 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.3907, allocations: 7.938 kB / 469.2 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/0.3965, allocations: 3.616 MB / 472.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.3977, allocations: 454.5 kB / 473.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.3979, allocations: 39.92 kB / 473.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.3991, allocations: 116 kB / 473.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.3993, allocations: 108.8 kB / 473.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.413e-05/0.3994, allocations: 43.98 kB / 473.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00201/0.4014, allocations: 1.279 MB / 474.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4015, allocations: 0 / 474.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001908/0.4034, allocations: 0.5468 MB / 475.4 MB, free: 9.727 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004043/0.4038, allocations: 182.9 kB / 475.6 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004303/0.4081, allocations: 2.432 MB / 478 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.4081, allocations: 0 / 478 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.4107, allocations: 1.518 MB / 479.5 MB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.4133, allocations: 441.9 kB / 479.9 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009696/0.423, allocations: 6.143 MB / 486.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/0.4248, allocations: 1.987 MB / 488.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/0.4256, allocations: 143.4 kB / 488.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4256, allocations: 0 / 488.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of Templates: time 0.2123/0.6379, allocations: 69.68 MB / 0.5448 GB, free: 59.58 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches