Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001193, allocations: 59.28 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 50.52 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01263/0.1153, allocations: 11.52 MB / 370.4 MB, free: 1.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1607/0.2761, allocations: 3.925 MB / 374.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.2785, allocations: 62.88 kB / 374.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.2813, allocations: 0.8391 MB / 375.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003852/0.2852, allocations: 0.946 MB / 376.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.2873, allocations: 0.5222 MB / 376.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005011/0.2923, allocations: 3.228 MB / 379.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003369/0.2957, allocations: 2.583 MB / 382.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.2986, allocations: 1.434 MB / 384 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002992/0.3016, allocations: 1.818 MB / 385.8 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006867/0.3023, allocations: 387.3 kB / 386.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.3038, allocations: 0.611 MB / 386.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.3048, allocations: 1.067 MB / 387.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.307, allocations: 1.725 MB / 389.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004979/0.312, allocations: 5.053 MB / 394.6 MB, free: 2.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.312, allocations: 4 kB / 394.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.312, allocations: 1.375 kB / 394.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.3121, allocations: 0 / 394.6 MB, free: 2.113 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.007343/0.3195, allocations: 3.516 MB / 398.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3195, allocations: 9.281 kB / 398.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.3212, allocations: 443.2 kB / 398.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.3245, allocations: 1.856 MB / 400.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.3247, allocations: 195.6 kB / 400.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.325, allocations: 249.3 kB / 400.9 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.3299, allocations: 3.252 MB / 404.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-05/0.33, allocations: 11.89 kB / 404.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/0.3302, allocations: 104 kB / 404.2 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/0.3303, allocations: 112.9 kB / 404.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.3346, allocations: 2.701 MB / 407 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.351, allocations: 10.26 MB / 417.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.3533, allocations: 1.77 MB / 419.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.355, allocations: 1.048 MB / 420.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.3554, allocations: 213.5 kB / 420.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3554, allocations: 47.56 kB / 420.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=115): time 3.136e-06/0.3554, allocations: 0 / 420.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=134): time 0.01657/0.372, allocations: 7.411 MB / 427.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3721, allocations: 64.72 kB / 427.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.3749, allocations: 1.889 MB / 429.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.375, allocations: 45.7 kB / 429.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008597/0.3758, allocations: 1.247 MB / 431 MB, free: 224 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/0.3762, allocations: 473.2 kB / 431.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00048/0.3767, allocations: 295.3 kB / 431.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3768, allocations: 309.1 kB / 432.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.3782, allocations: 0.8159 MB / 432.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.3798, allocations: 1.311 MB / 434.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.3829, allocations: 2.25 MB / 436.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.383, allocations: 4 kB / 436.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004809/0.3878, allocations: 2.801 MB / 439.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.3878, allocations: 15.98 kB / 439.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.3879, allocations: 16 kB / 439.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009758/0.3888, allocations: 414.4 kB / 439.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.3903, allocations: 395.3 kB / 440.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006048/0.3964, allocations: 5.787 MB / 445.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.3983, allocations: 139.7 kB / 446 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.3986, allocations: 68.16 kB / 446.1 MB, free: 436 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001488/0.4001, allocations: 0.79 MB / 446.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005399/0.4006, allocations: 193.8 kB / 447.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/0.405, allocations: 2.403 MB / 449.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.331e-05/0.405, allocations: 19.98 kB / 449.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.405, allocations: 4 kB / 449.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.4051, allocations: 3.984 kB / 449.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009787/0.4148, allocations: 5.271 MB / 454.8 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.4149, allocations: 7.938 kB / 454.8 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.416, allocations: 247.6 kB / 455 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.4171, allocations: 465.3 kB / 455.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.935e-05/0.4172, allocations: 35.98 kB / 455.5 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007314/0.4246, allocations: 7.339 MB / 462.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.4246, allocations: 11.88 kB / 462.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.4301, allocations: 3.575 MB / 466.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.4313, allocations: 446.6 kB / 466.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.4316, allocations: 35.98 kB / 466.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.4327, allocations: 99.88 kB / 467 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.433, allocations: 112.7 kB / 467.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.924e-05/0.4331, allocations: 47.98 kB / 467.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001875/0.435, allocations: 1.295 MB / 468.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.435, allocations: 0 / 468.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001792/0.4368, allocations: 0.5468 MB / 469 MB, free: 8.816 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004109/0.4372, allocations: 225.7 kB / 469.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.441, allocations: 2.416 MB / 471.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.441, allocations: 4 kB / 471.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00231/0.4433, allocations: 1.518 MB / 473.2 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.4452, allocations: 450.8 kB / 473.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007978/0.4532, allocations: 5.104 MB / 478.7 MB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.455, allocations: 2.018 MB / 480.7 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.4564, allocations: 431.7 kB / 481.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.4568, allocations: 135.4 kB / 481.3 MB, free: 12.35 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4569, allocations: 0 / 481.3 MB, free: 12.35 MB / 398.1 MB Notification: Performance of Templates: time 0.04945/0.5063, allocations: 28.01 MB / 0.4973 GB, free: 0.6016 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches