Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008413/0.0008415, allocations: 89.14 kB / 16.31 MB, free: 5.676 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.001005/0.001005, allocations: 179 kB / 17.21 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.2 MB / 241.2 MB, free: 176 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002738, allocations: 8 kB / 300.8 MB, free: 6.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 50.42 MB / 351.2 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01381/0.1304, allocations: 10.45 MB / 361.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009066/0.1395, allocations: 3.704 MB / 365.4 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/0.1422, allocations: 59.75 kB / 365.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.1452, allocations: 0.6953 MB / 366.1 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.1493, allocations: 0.8351 MB / 367 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.1511, allocations: 343.5 kB / 367.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005741/0.1569, allocations: 3.494 MB / 370.8 MB, free: 340 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2906/0.4475, allocations: 1.825 MB / 372.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/0.4508, allocations: 1.145 MB / 373.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003768/0.4546, allocations: 1.578 MB / 375.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007468/0.4554, allocations: 174.3 kB / 375.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.4571, allocations: 366.8 kB / 375.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.4586, allocations: 0.8596 MB / 376.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.4604, allocations: 0.6234 MB / 377.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008326/0.4687, allocations: 4.271 MB / 381.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.4687, allocations: 0 / 381.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.4688, allocations: 0 / 381.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000235/0.469, allocations: 4 kB / 381.6 MB, free: 9.789 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01135/0.4804, allocations: 3.194 MB / 384.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.4804, allocations: 12.08 kB / 384.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.4833, allocations: 434.4 kB / 385.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005326/0.4886, allocations: 1.841 MB / 387.1 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/0.489, allocations: 214.7 kB / 387.3 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009605/0.4899, allocations: 264.6 kB / 387.6 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009699/0.4997, allocations: 3.523 MB / 391.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.914e-05/0.4998, allocations: 6.594 kB / 391.1 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/0.5001, allocations: 109.9 kB / 391.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/0.5003, allocations: 124.8 kB / 391.3 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006427/0.5068, allocations: 2.984 MB / 394.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.5288, allocations: 11.17 MB / 405.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.5322, allocations: 2.288 MB / 407.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.5343, allocations: 1.2 MB / 409 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000361/0.5347, allocations: 206.1 kB / 409.2 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.5347, allocations: 51.88 kB / 409.2 MB, free: 8.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.669e-06/0.5348, allocations: 4 kB / 409.2 MB, free: 8.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01944/0.5542, allocations: 7.639 MB / 416.9 MB, free: 1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.5543, allocations: 64.72 kB / 416.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/0.5589, allocations: 1.961 MB / 418.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003568/0.5593, allocations: 53.7 kB / 419 MB, free: 14.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.5607, allocations: 1.311 MB / 420.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006834/0.5614, allocations: 0.507 MB / 420.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.5615, allocations: 36 kB / 420.8 MB, free: 13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.5617, allocations: 377.9 kB / 421.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.5635, allocations: 0.8979 MB / 422.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.5654, allocations: 1.378 MB / 423.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.5673, allocations: 1.092 MB / 424.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.5673, allocations: 8 kB / 424.6 MB, free: 9.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006275/0.5736, allocations: 2.999 MB / 427.6 MB, free: 6.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.5737, allocations: 12 kB / 427.6 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.5737, allocations: 16 kB / 427.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.575, allocations: 472.6 kB / 428 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.5766, allocations: 441.6 kB / 428.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007607/0.5843, allocations: 5.591 MB / 434.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.5871, allocations: 131.8 kB / 434.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.5873, allocations: 68 kB / 434.3 MB, free: 15.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * 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%) 16,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002263/0.5896, allocations: 0.8518 MB / 435.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006359/0.5902, allocations: 213.4 kB / 435.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004654/0.5949, allocations: 2.615 MB / 437.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/0.595, allocations: 16 kB / 438 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/0.595, allocations: 4 kB / 438 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.595, allocations: 7.969 kB / 438 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.607, allocations: 5.67 MB / 443.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.607, allocations: 4 kB / 443.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.6082, allocations: 303.9 kB / 443.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.6096, allocations: 494 kB / 444.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.6098, allocations: 42.64 kB / 444.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008048/0.6178, allocations: 7.037 MB / 451.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.6179, allocations: 4 kB / 451.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007952/0.6259, allocations: 3.879 MB / 455.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/0.6276, allocations: 482.4 kB / 455.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/0.6287, allocations: 39.94 kB / 455.9 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/0.6308, allocations: 111.7 kB / 456 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/0.6312, allocations: 121.1 kB / 456.1 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.6313, allocations: 43.98 kB / 456.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003423/0.6348, allocations: 1.344 MB / 457.5 MB, free: 7.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6348, allocations: 0 / 457.5 MB, free: 7.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003579/0.6384, allocations: 0.5898 MB / 458.1 MB, free: 6.695 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * 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%) 16,(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.0005455/0.6389, allocations: 188.7 kB / 458.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004862/0.6438, allocations: 2.623 MB / 460.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.6438, allocations: 4.25 kB / 460.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002904/0.6467, allocations: 1.611 MB / 462.5 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/0.6506, allocations: 491.5 kB / 463 MB, free: 1.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.6632, allocations: 6.661 MB / 469.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/0.6653, allocations: 2.128 MB / 471.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001879/0.6672, allocations: 476.9 kB / 472.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.6677, allocations: 139.4 kB / 472.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6677, allocations: 0 / 472.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of Templates: time 0.05738/0.7251, allocations: 28.43 MB / 0.4891 GB, free: 12.1 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches