Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 101 kB / 16.95 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 183 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005635/0.0005635, allocations: 12 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.163, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01384/0.1769, allocations: 10.1 MB / 338.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.1878, allocations: 3.682 MB / 342.1 MB, free: 6.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003542/0.1914, allocations: 47.81 kB / 342.2 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.1946, allocations: 0.6837 MB / 342.9 MB, free: 5.496 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00492/0.1995, allocations: 0.8 MB / 343.7 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.2017, allocations: 335.5 kB / 344 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007211/0.209, allocations: 3.261 MB / 347.3 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00438/0.2134, allocations: 1.697 MB / 349 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.2165, allocations: 1.07 MB / 350 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/0.2202, allocations: 1.486 MB / 351.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001371/0.2216, allocations: 164 kB / 351.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.2245, allocations: 359.7 kB / 352 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002389/0.2269, allocations: 0.806 MB / 352.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.2293, allocations: 0.5822 MB / 353.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008035/0.2373, allocations: 4.016 MB / 357.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.2374, allocations: 0 / 357.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.049e-06/0.2374, allocations: 0 / 357.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003317/0.2377, allocations: 0 / 357.4 MB, free: 6.855 MB / 302.1 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.009727/0.2475, allocations: 2.989 MB / 360.4 MB, free: 3.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.2476, allocations: 16.02 kB / 360.4 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.25, allocations: 404.1 kB / 360.8 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005437/0.2555, allocations: 1.663 MB / 362.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.2559, allocations: 197 kB / 362.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/0.2571, allocations: 259.8 kB / 362.9 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.269, allocations: 3.235 MB / 366.2 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.2692, allocations: 11.86 kB / 366.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006442/0.2699, allocations: 100 kB / 366.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.2701, allocations: 116.9 kB / 366.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007752/0.2779, allocations: 2.705 MB / 369.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02703/0.3049, allocations: 10.44 MB / 379.5 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3071/0.612, allocations: 1.772 MB / 381.3 MB, free: 37.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002728/0.6148, allocations: 1.063 MB / 382.4 MB, free: 37.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003896/0.6153, allocations: 211.1 kB / 382.6 MB, free: 37.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.052e-05/0.6153, allocations: 43.41 kB / 382.6 MB, free: 37.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 5.801e-06/0.6154, allocations: 0 / 382.6 MB, free: 37.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02268/0.638, allocations: 7.742 MB / 390.4 MB, free: 35.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.6382, allocations: 67.66 kB / 390.4 MB, free: 35.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/0.6423, allocations: 1.86 MB / 392.3 MB, free: 35.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.6425, allocations: 45.7 kB / 392.3 MB, free: 35.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.6436, allocations: 1.244 MB / 393.6 MB, free: 35.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004699/0.6441, allocations: 473 kB / 394 MB, free: 34.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.6442, allocations: 34.22 kB / 394.1 MB, free: 34.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6443, allocations: 373.2 kB / 394.4 MB, free: 34.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.6459, allocations: 0.8248 MB / 395.3 MB, free: 34.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.6476, allocations: 1.327 MB / 396.6 MB, free: 33.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.6492, allocations: 1.018 MB / 397.6 MB, free: 33.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.6492, allocations: 10.03 kB / 397.6 MB, free: 33.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004988/0.6542, allocations: 2.807 MB / 400.4 MB, free: 32.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.6542, allocations: 12 kB / 400.4 MB, free: 32.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.759e-05/0.6543, allocations: 15.38 kB / 400.5 MB, free: 32.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.6553, allocations: 422.2 kB / 400.9 MB, free: 32.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.6567, allocations: 409.7 kB / 401.3 MB, free: 32.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/0.6621, allocations: 5.281 MB / 406.5 MB, free: 28.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.6644, allocations: 140.8 kB / 406.7 MB, free: 28.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.6646, allocations: 68 kB / 406.8 MB, free: 28.5 MB / 318.1 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.001784/0.6664, allocations: 0.7895 MB / 407.5 MB, free: 27.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006892/0.6671, allocations: 194.2 kB / 407.7 MB, free: 27.6 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/0.6708, allocations: 2.419 MB / 410.1 MB, free: 25.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/0.6709, allocations: 12 kB / 410.2 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.6709, allocations: 4 kB / 410.2 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.6709, allocations: 11.44 kB / 410.2 MB, free: 25.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009385/0.6803, allocations: 5.312 MB / 415.5 MB, free: 19.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.6804, allocations: 4 kB / 415.5 MB, free: 19.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009898/0.6814, allocations: 263 kB / 415.7 MB, free: 19.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.6826, allocations: 459.2 kB / 416.2 MB, free: 19.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.6828, allocations: 41.16 kB / 416.2 MB, free: 19.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006046/0.6888, allocations: 6.734 MB / 423 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.6889, allocations: 6.156 kB / 423 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005951/0.6948, allocations: 3.616 MB / 426.6 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/0.6964, allocations: 458.7 kB / 427 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008266/0.6973, allocations: 34.06 kB / 427.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/0.699, allocations: 119.8 kB / 427.2 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003675/0.6994, allocations: 113.2 kB / 427.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.6995, allocations: 46.64 kB / 427.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002854/0.7024, allocations: 1.279 MB / 428.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.7024, allocations: 0 / 428.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003592/0.706, allocations: 0.5347 MB / 429.2 MB, free: 5.637 MB / 318.1 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.0007133/0.7067, allocations: 185.7 kB / 429.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004368/0.7111, allocations: 2.44 MB / 431.8 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.7111, allocations: 1.969 kB / 431.8 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002292/0.7134, allocations: 1.521 MB / 433.3 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/0.7172, allocations: 439.6 kB / 433.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.7311, allocations: 6.084 MB / 439.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/0.7337, allocations: 2.018 MB / 441.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002245/0.7359, allocations: 423.7 kB / 442.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.7364, allocations: 127.4 kB / 442.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of SimCode: time 2.444e-06/0.7364, allocations: 4 kB / 442.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of Templates: time 0.05905/0.7955, allocations: 25.74 MB / 468.1 MB, free: 14.62 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches