Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, 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.001081/0.001081, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 61.3 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09485, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01257/0.1075, allocations: 11.83 MB / 370.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1686/0.276, allocations: 3.989 MB / 374.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.2774, allocations: 67.19 kB / 374.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.2792, allocations: 0.8571 MB / 375.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.2817, allocations: 0.9883 MB / 376.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2828, allocations: 0.5255 MB / 377.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003286/0.2861, allocations: 3.462 MB / 380.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.289, allocations: 2.719 MB / 383.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.2913, allocations: 1.545 MB / 384.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.2941, allocations: 1.943 MB / 386.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006417/0.2948, allocations: 407.7 kB / 387.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.2962, allocations: 0.6332 MB / 387.9 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.2977, allocations: 1.145 MB / 389 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.3002, allocations: 1.847 MB / 390.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006283/0.3065, allocations: 5.376 MB / 396.2 MB, free: 1.082 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3065, allocations: 0 / 396.2 MB, free: 1.082 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3065, allocations: 0 / 396.2 MB, free: 1.082 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.951e-05/0.3066, allocations: 0 / 396.2 MB, free: 1.082 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.01047/0.3171, allocations: 3.732 MB / 400 MB, free: 14.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3171, allocations: 9.781 kB / 400 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/0.3197, allocations: 466.4 kB / 400.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005136/0.3249, allocations: 1.984 MB / 402.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.3251, allocations: 203.6 kB / 402.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005767/0.3257, allocations: 269.9 kB / 402.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00852/0.3342, allocations: 3.529 MB / 406.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-05/0.3343, allocations: 4 kB / 406.4 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/0.3347, allocations: 107 kB / 406.5 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.3349, allocations: 133.2 kB / 406.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007652/0.3426, allocations: 2.964 MB / 409.6 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02323/0.3658, allocations: 10.96 MB / 420.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.3697, allocations: 2.28 MB / 422.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/0.3725, allocations: 1.19 MB / 424 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/0.3729, allocations: 198.5 kB / 424.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.3729, allocations: 55.86 kB / 424.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 4.057e-06/0.373, allocations: 0 / 424.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=148): time 0.01579/0.3887, allocations: 7.507 MB / 431.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3888, allocations: 72.66 kB / 431.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.3914, allocations: 1.984 MB / 433.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-05/0.3915, allocations: 49.7 kB / 433.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008337/0.3924, allocations: 1.322 MB / 435.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/0.3927, allocations: 0.5094 MB / 435.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/0.3932, allocations: 327.3 kB / 436.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.3933, allocations: 301.1 kB / 436.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.3947, allocations: 0.894 MB / 437.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.3965, allocations: 1.368 MB / 438.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003282/0.3998, allocations: 2.385 MB / 441 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3998, allocations: 4 kB / 441 MB, free: 5.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004649/0.4045, allocations: 2.977 MB / 444 MB, free: 2.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4045, allocations: 12 kB / 444 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.4046, allocations: 15.94 kB / 444 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.4056, allocations: 469 kB / 444.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.4071, allocations: 431.3 kB / 444.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/0.4137, allocations: 6.087 MB / 451 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.4152, allocations: 123.8 kB / 451.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.4154, allocations: 75.98 kB / 451.2 MB, free: 11.22 MB / 366.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.001506/0.4169, allocations: 0.8524 MB / 452 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.4173, allocations: 213.4 kB / 452.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/0.4218, allocations: 2.591 MB / 454.8 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/0.4218, allocations: 19.98 kB / 454.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4219, allocations: 8 kB / 454.8 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.4219, allocations: 11.92 kB / 454.9 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009055/0.4309, allocations: 5.615 MB / 460.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.431, allocations: 4 kB / 460.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.4322, allocations: 280 kB / 460.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.4335, allocations: 0.4966 MB / 461.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.4336, allocations: 39.92 kB / 461.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007598/0.4412, allocations: 7.686 MB / 469 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.55e-05/0.4413, allocations: 7.938 kB / 469 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006383/0.4477, allocations: 3.837 MB / 472.8 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/0.4491, allocations: 482.3 kB / 473.3 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005068/0.4496, allocations: 39.98 kB / 473.3 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.451, allocations: 95.17 kB / 473.4 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.4513, allocations: 121 kB / 473.5 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.4514, allocations: 47.98 kB / 473.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002488/0.4539, allocations: 1.368 MB / 474.9 MB, free: 2.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.4539, allocations: 0 / 474.9 MB, free: 2.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002375/0.4563, allocations: 0.5859 MB / 475.5 MB, free: 2.141 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.0005524/0.4569, allocations: 216 kB / 475.7 MB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004514/0.4614, allocations: 2.611 MB / 478.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4614, allocations: 1.812 kB / 478.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002624/0.464, allocations: 1.614 MB / 480 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.4666, allocations: 0.4958 MB / 480.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.4772, allocations: 5.593 MB / 486.1 MB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/0.4801, allocations: 2.14 MB / 488.2 MB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00181/0.4819, allocations: 473 kB / 488.7 MB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005931/0.4825, allocations: 135.4 kB / 488.8 MB, free: 4.703 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4826, allocations: 4 kB / 488.8 MB, free: 4.699 MB / 398.1 MB Notification: Performance of Templates: time 0.05287/0.5354, allocations: 30.96 MB / 0.5076 GB, free: 6.023 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches