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.0008398/0.0008399, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009248/0.0009249, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002243/0.0002242, allocations: 8 kB / 308.4 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09273, allocations: 51.52 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01247/0.1052, allocations: 11.17 MB / 371.1 MB, free: 2.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1922/0.2975, allocations: 3.901 MB / 375 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.3, allocations: 59.69 kB / 375 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.3032, allocations: 0.756 MB / 375.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.3072, allocations: 0.8927 MB / 376.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.3091, allocations: 474.5 kB / 377.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005784/0.3149, allocations: 3.865 MB / 381 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/0.3178, allocations: 2.256 MB / 383.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.3203, allocations: 1.169 MB / 384.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/0.3229, allocations: 1.643 MB / 386.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000445/0.3233, allocations: 171.7 kB / 386.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.3246, allocations: 422.7 kB / 386.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.3256, allocations: 0.8667 MB / 387.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.3276, allocations: 1.56 MB / 389.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003978/0.3316, allocations: 4.302 MB / 393.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3316, allocations: 0 / 393.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3316, allocations: 0 / 393.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001171/0.3317, allocations: 1.375 kB / 393.4 MB, free: 3.012 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.007133/0.3389, allocations: 3.167 MB / 396.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.339, allocations: 9.219 kB / 396.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.3409, allocations: 480.6 kB / 397 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.3442, allocations: 1.926 MB / 399 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.3444, allocations: 223.4 kB / 399.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003908/0.3448, allocations: 267 kB / 399.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006245/0.3511, allocations: 3.535 MB / 403 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-05/0.3512, allocations: 8 kB / 403 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/0.3514, allocations: 115.1 kB / 403.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.3516, allocations: 121.2 kB / 403.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005306/0.3569, allocations: 2.995 MB / 406.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.3748, allocations: 11.18 MB / 417.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.3777, allocations: 2.293 MB / 419.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/0.3799, allocations: 1.209 MB / 420.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.3802, allocations: 218 kB / 421.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.3803, allocations: 43.88 kB / 421.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 4.539e-06/0.3803, allocations: 0 / 421.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=148): time 0.01762/0.3979, allocations: 7.674 MB / 428.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.398, allocations: 64.72 kB / 428.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003976/0.402, allocations: 1.992 MB / 430.9 MB, free: 380 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.4022, allocations: 45.7 kB / 430.9 MB, free: 328 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.4033, allocations: 1.331 MB / 432.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005389/0.4039, allocations: 0.5036 MB / 432.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.4042, allocations: 145.6 kB / 432.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4043, allocations: 301.1 kB / 433.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.406, allocations: 0.9057 MB / 434.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.408, allocations: 1.392 MB / 435.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/0.4117, allocations: 2.41 MB / 437.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.4117, allocations: 4 kB / 437.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006572/0.4183, allocations: 3.021 MB / 440.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.4183, allocations: 19.22 kB / 441 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/0.4184, allocations: 16 kB / 441 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.4196, allocations: 457.1 kB / 441.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.4212, allocations: 447.2 kB / 441.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006718/0.428, allocations: 5.582 MB / 447.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.4302, allocations: 131.8 kB / 447.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003153/0.4306, allocations: 77.7 kB / 447.6 MB, free: 14.93 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.00205/0.4326, allocations: 0.8563 MB / 448.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007248/0.4334, allocations: 217.5 kB / 448.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005208/0.4386, allocations: 2.636 MB / 451.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.609e-05/0.4386, allocations: 16 kB / 451.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.4387, allocations: 4 kB / 451.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.4387, allocations: 7.969 kB / 451.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.4496, allocations: 5.674 MB / 457 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.4497, allocations: 4 kB / 457 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.4509, allocations: 299.9 kB / 457.3 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.4524, allocations: 0.4954 MB / 457.8 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.4526, allocations: 39.98 kB / 457.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007639/0.4602, allocations: 7.054 MB / 464.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4603, allocations: 4 kB / 464.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006787/0.467, allocations: 3.891 MB / 468.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.4684, allocations: 486.4 kB / 469.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006878/0.4691, allocations: 39.94 kB / 469.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.4708, allocations: 107.8 kB / 469.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/0.4711, allocations: 113.2 kB / 469.6 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.4712, allocations: 55.86 kB / 469.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002826/0.4741, allocations: 1.368 MB / 471 MB, free: 6.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.4741, allocations: 0 / 471 MB, free: 6.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002862/0.477, allocations: 0.582 MB / 471.6 MB, free: 6.312 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.0005967/0.4776, allocations: 228.2 kB / 471.8 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004727/0.4823, allocations: 2.634 MB / 474.4 MB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.4823, allocations: 4 kB / 474.4 MB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002846/0.4852, allocations: 1.616 MB / 476 MB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/0.4894, allocations: 471.4 kB / 476.5 MB, free: 1.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.5015, allocations: 7.027 MB / 483.5 MB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/0.5041, allocations: 2.12 MB / 485.6 MB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008419/0.505, allocations: 147.4 kB / 485.8 MB, free: 7.891 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.505, allocations: 0 / 485.8 MB, free: 7.891 MB / 398.1 MB Notification: Performance of Templates: time 0.258/0.763, allocations: 75.03 MB / 0.5477 GB, free: 140.9 MB / 446.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 -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