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.001096/0.001096, allocations: 97.75 kB / 16.5 MB, free: 6.641 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.001154/0.001154, allocations: 195.5 kB / 17.42 MB, free: 6.066 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 50.42 kB / 300 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1013, allocations: 49.46 MB / 349.4 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01304/0.1144, allocations: 11.7 MB / 361.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008037/0.1224, allocations: 3.889 MB / 365 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.1246, allocations: 63.69 kB / 365.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.1266, allocations: 0.7461 MB / 365.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.1291, allocations: 0.8936 MB / 366.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009431/0.13, allocations: 467.5 kB / 367.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1818/0.3118, allocations: 3.836 MB / 371 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/0.3151, allocations: 2.278 MB / 373.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.3174, allocations: 1.33 MB / 374.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.3204, allocations: 1.861 MB / 376.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007906/0.3212, allocations: 248.4 kB / 376.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.3226, allocations: 0.4998 MB / 377.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.3237, allocations: 0.9834 MB / 378.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.3257, allocations: 1.671 MB / 379.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005133/0.3308, allocations: 5.186 MB / 385.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3308, allocations: 0 / 385.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3308, allocations: 3.984 kB / 385.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000122/0.331, allocations: 1.375 kB / 385.1 MB, free: 8.168 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.009791/0.3408, allocations: 3.707 MB / 388.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3408, allocations: 9.375 kB / 388.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.3426, allocations: 434.5 kB / 389.2 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.3461, allocations: 1.907 MB / 391.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.3463, allocations: 200.6 kB / 391.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004068/0.3468, allocations: 270.9 kB / 391.6 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006047/0.3528, allocations: 3.529 MB / 395.1 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-05/0.3529, allocations: 7.562 kB / 395.1 MB, free: 1.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/0.3531, allocations: 111.8 kB / 395.2 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.3532, allocations: 127.7 kB / 395.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004643/0.3579, allocations: 2.966 MB / 398.3 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01941/0.3773, allocations: 11.09 MB / 409.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.3803, allocations: 2.281 MB / 411.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/0.3823, allocations: 1.183 MB / 412.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.3827, allocations: 210.9 kB / 413.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.3828, allocations: 47.62 kB / 413.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.027e-06/0.3828, allocations: 0 / 413.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01707/0.3998, allocations: 7.498 MB / 420.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.3999, allocations: 72.66 kB / 420.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003762/0.4037, allocations: 1.979 MB / 422.7 MB, free: 8.145 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.404, allocations: 49.7 kB / 422.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.405, allocations: 1.306 MB / 424 MB, free: 6.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005318/0.4056, allocations: 0.5016 MB / 424.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006302/0.4062, allocations: 330 kB / 424.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.4063, allocations: 309.1 kB / 425.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.4078, allocations: 0.8862 MB / 426 MB, free: 4.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.4096, allocations: 1.363 MB / 427.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.4132, allocations: 2.384 MB / 429.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.4133, allocations: 4 kB / 429.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00563/0.4189, allocations: 2.984 MB / 432.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.419, allocations: 15.28 kB / 432.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/0.419, allocations: 19.92 kB / 432.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.4203, allocations: 466.1 kB / 433.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.422, allocations: 426.9 kB / 433.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.4286, allocations: 5.592 MB / 439.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.4306, allocations: 118.7 kB / 439.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/0.4308, allocations: 71.98 kB / 439.4 MB, free: 6.848 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 (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,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00185/0.4327, allocations: 0.8554 MB / 440.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006195/0.4333, allocations: 209.5 kB / 440.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004893/0.4382, allocations: 2.59 MB / 443.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/0.4382, allocations: 23.92 kB / 443.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.4383, allocations: 4 kB / 443.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4383, allocations: 3.984 kB / 443.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.4492, allocations: 5.638 MB / 448.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.4492, allocations: 0 / 448.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.4504, allocations: 289.5 kB / 449 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.4518, allocations: 497.9 kB / 449.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.452, allocations: 43.97 kB / 449.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007844/0.4598, allocations: 7.048 MB / 456.6 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/0.4599, allocations: 7.375 kB / 456.6 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007024/0.4669, allocations: 3.849 MB / 460.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.4682, allocations: 474.4 kB / 460.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006362/0.4689, allocations: 43.92 kB / 461 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.4704, allocations: 103.8 kB / 461.1 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.4707, allocations: 120.5 kB / 461.2 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.4708, allocations: 39.98 kB / 461.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002509/0.4733, allocations: 1.363 MB / 462.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4733, allocations: 0 / 462.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002713/0.4761, allocations: 0.5859 MB / 463.2 MB, free: 14.56 MB / 382.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 (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,16,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.000894/0.477, allocations: 220.9 kB / 463.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00514/0.4821, allocations: 2.598 MB / 466 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.4821, allocations: 0 / 466 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002756/0.4849, allocations: 1.607 MB / 467.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/0.4882, allocations: 479.7 kB / 468.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.5, allocations: 6.839 MB / 474.9 MB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/0.5026, allocations: 2.136 MB / 477.1 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001947/0.5045, allocations: 469 kB / 477.5 MB, free: 180 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007381/0.5053, allocations: 139.4 kB / 477.7 MB, free: 44 kB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5053, allocations: 0 / 477.7 MB, free: 44 kB / 382.1 MB Notification: Performance of Templates: time 0.05388/0.5592, allocations: 29.63 MB / 0.4954 GB, free: 2.75 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