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.001228/0.001228, allocations: 107.3 kB / 17.73 MB, free: 5.355 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.001215/0.001215, allocations: 188.1 kB / 18.67 MB, free: 4.43 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.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2774, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01273/0.2902, allocations: 11.8 MB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.2978, allocations: 3.921 MB / 417.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.2995, allocations: 67.69 kB / 417.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.3021, allocations: 0.8538 MB / 418.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.3053, allocations: 0.9783 MB / 419 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.3066, allocations: 0.5188 MB / 419.6 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004306/0.311, allocations: 3.438 MB / 423 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.3146, allocations: 2.716 MB / 425.7 MB, free: 432 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.317, allocations: 1.55 MB / 427.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.3201, allocations: 1.938 MB / 429.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.3213, allocations: 408 kB / 429.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.3233, allocations: 0.6441 MB / 430.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001639/0.3249, allocations: 1.138 MB / 431.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003012/0.3279, allocations: 1.847 MB / 433.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.3344, allocations: 5.37 MB / 438.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3345, allocations: 0 / 438.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3345, allocations: 0 / 438.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001546/0.3346, allocations: 0 / 438.6 MB, free: 3.496 MB / 350.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.00976/0.3444, allocations: 3.714 MB / 442.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.3445, allocations: 12.03 kB / 442.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.3462, allocations: 432.7 kB / 442.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/0.3505, allocations: 1.961 MB / 444.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.3507, allocations: 205.4 kB / 444.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006648/0.3514, allocations: 271.9 kB / 445.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007093/0.3585, allocations: 3.521 MB / 448.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-05/0.3586, allocations: 8 kB / 448.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/0.3589, allocations: 108 kB / 448.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.3591, allocations: 121.3 kB / 448.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005376/0.3644, allocations: 2.972 MB / 451.9 MB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01768/0.3821, allocations: 10.96 MB / 462.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.385, allocations: 2.281 MB / 465.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.3871, allocations: 1.176 MB / 466.3 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.3874, allocations: 203.5 kB / 466.5 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3874, allocations: 47.88 kB / 466.6 MB, free: 6.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.397e-06/0.3874, allocations: 0 / 466.6 MB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01669/0.4041, allocations: 7.524 MB / 474.1 MB, free: 15.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.4042, allocations: 68.72 kB / 474.2 MB, free: 15.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/0.4072, allocations: 1.975 MB / 476.1 MB, free: 12.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.4074, allocations: 53.7 kB / 476.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008815/0.4083, allocations: 1.316 MB / 477.5 MB, free: 11.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/0.4087, allocations: 0.5044 MB / 478 MB, free: 11.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/0.4092, allocations: 327.2 kB / 478.3 MB, free: 10.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.4093, allocations: 301.1 kB / 478.6 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.4108, allocations: 0.8862 MB / 479.5 MB, free: 9.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.4126, allocations: 1.371 MB / 480.9 MB, free: 7.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.416, allocations: 2.381 MB / 483.3 MB, free: 5.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.416, allocations: 4 kB / 483.3 MB, free: 5.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005273/0.4213, allocations: 2.986 MB / 486.2 MB, free: 2.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.4213, allocations: 12 kB / 486.3 MB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.4213, allocations: 12 kB / 486.3 MB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.4225, allocations: 462.6 kB / 486.7 MB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.4242, allocations: 431.3 kB / 487.1 MB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006775/0.431, allocations: 6.103 MB / 493.2 MB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.4329, allocations: 123.9 kB / 493.4 MB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.4332, allocations: 75.98 kB / 493.4 MB, free: 10.9 MB / 414.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.001702/0.4349, allocations: 0.8524 MB / 494.3 MB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004905/0.4354, allocations: 217.3 kB / 494.5 MB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.4399, allocations: 2.583 MB / 497.1 MB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/0.44, allocations: 20 kB / 497.1 MB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.837e-05/0.44, allocations: 4 kB / 497.1 MB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/0.44, allocations: 11.97 kB / 497.1 MB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009881/0.4499, allocations: 5.606 MB / 0.4909 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.45, allocations: 4 kB / 0.4909 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.4512, allocations: 284 kB / 0.4912 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.4526, allocations: 0.4902 MB / 0.4917 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.4527, allocations: 39.97 kB / 0.4917 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007772/0.4605, allocations: 7.678 MB / 0.4992 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.4605, allocations: 7.938 kB / 0.4992 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006229/0.4668, allocations: 3.843 MB / 0.503 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.4678, allocations: 478.4 kB / 0.5034 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.4681, allocations: 32 kB / 0.5035 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.4693, allocations: 103.9 kB / 0.5036 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.4696, allocations: 117 kB / 0.5037 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.4697, allocations: 47.98 kB / 0.5037 GB, free: 3.781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001961/0.4717, allocations: 1.356 MB / 0.5051 GB, free: 2.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4717, allocations: 0 / 0.5051 GB, free: 2.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001934/0.4736, allocations: 0.5898 MB / 0.5056 GB, free: 1.812 MB / 430.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.0004459/0.4741, allocations: 233 kB / 0.5059 GB, free: 1.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004405/0.4785, allocations: 2.604 MB / 0.5084 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.4786, allocations: 8 kB / 0.5084 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002712/0.4813, allocations: 1.596 MB / 0.51 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.4839, allocations: 0.4951 MB / 0.5104 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009298/0.4933, allocations: 5.646 MB / 0.516 GB, free: 7.066 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/0.4951, allocations: 2.108 MB / 0.518 GB, free: 4.926 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007335/0.4959, allocations: 151.4 kB / 0.5182 GB, free: 4.781 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4959, allocations: 0 / 0.5182 GB, free: 4.781 MB / 446.1 MB Notification: Performance of Templates: time 0.287/0.7829, allocations: 75.83 MB / 0.5922 GB, free: 83.38 MB / 462.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/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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches