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.001548/0.001548, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.25 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09622, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01294/0.1092, allocations: 11.83 MB / 370.7 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2047/0.3139, allocations: 3.988 MB / 374.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003503/0.3175, allocations: 64.09 kB / 374.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003675/0.3212, allocations: 0.8623 MB / 375.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004806/0.3261, allocations: 0.9849 MB / 376.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.3282, allocations: 0.5293 MB / 377.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006198/0.3344, allocations: 3.463 MB / 380.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00482/0.3393, allocations: 2.71 MB / 383.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.3429, allocations: 1.546 MB / 384.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/0.347, allocations: 1.936 MB / 386.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.3485, allocations: 408.4 kB / 387.2 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.3511, allocations: 0.6358 MB / 387.9 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00191/0.353, allocations: 1.141 MB / 389 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004413/0.3574, allocations: 1.852 MB / 390.8 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007358/0.3648, allocations: 5.377 MB / 396.2 MB, free: 1.059 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3649, allocations: 0 / 396.2 MB, free: 1.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3649, allocations: 4 kB / 396.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001926/0.3651, allocations: 0 / 396.2 MB, free: 1.055 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.008916/0.374, allocations: 3.74 MB / 400 MB, free: 14.53 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.374, allocations: 9.938 kB / 400 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.3757, allocations: 464.6 kB / 400.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/0.3796, allocations: 1.974 MB / 402.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.3798, allocations: 211.9 kB / 402.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004603/0.3803, allocations: 273.1 kB / 402.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007351/0.3876, allocations: 3.525 MB / 406.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.444e-05/0.3877, allocations: 8 kB / 406.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.388, allocations: 108 kB / 406.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.3882, allocations: 117.3 kB / 406.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00543/0.3936, allocations: 2.972 MB / 409.6 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01845/0.4121, allocations: 10.96 MB / 420.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/0.4149, allocations: 2.288 MB / 422.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.4168, allocations: 1.182 MB / 424 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.4171, allocations: 206.5 kB / 424.2 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.4172, allocations: 47.88 kB / 424.3 MB, free: 7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 3.006e-06/0.4172, allocations: 4 kB / 424.3 MB, free: 6.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=148): time 0.01642/0.4336, allocations: 7.506 MB / 431.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.4337, allocations: 68.66 kB / 431.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004782/0.4385, allocations: 1.996 MB / 433.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003758/0.4389, allocations: 49.7 kB / 433.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.4407, allocations: 1.319 MB / 435.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009752/0.4417, allocations: 0.5068 MB / 435.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008893/0.4426, allocations: 326.8 kB / 436 MB, free: 11.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.4429, allocations: 309.1 kB / 436.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/0.4454, allocations: 0.8862 MB / 437.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.4483, allocations: 1.364 MB / 438.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005251/0.4535, allocations: 2.381 MB / 441 MB, free: 5.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/0.4536, allocations: 8 kB / 441 MB, free: 5.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.008358/0.462, allocations: 2.974 MB / 444 MB, free: 2.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.462, allocations: 12.03 kB / 444 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-05/0.4621, allocations: 19.94 kB / 444 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/0.464, allocations: 468.5 kB / 444.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.4671, allocations: 435.3 kB / 444.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.48, allocations: 6.098 MB / 451 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.4834, allocations: 119.8 kB / 451.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003706/0.4838, allocations: 79.98 kB / 451.2 MB, free: 11.19 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.002735/0.4866, allocations: 0.8601 MB / 452 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009257/0.4875, allocations: 213.4 kB / 452.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008173/0.4957, allocations: 2.586 MB / 454.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.175e-05/0.4958, allocations: 19.98 kB / 454.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.4958, allocations: 8 kB / 454.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.4958, allocations: 3.984 kB / 454.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.5141, allocations: 5.612 MB / 460.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.5142, allocations: 4.406 kB / 460.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/0.5168, allocations: 283.6 kB / 460.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00278/0.5196, allocations: 0.4926 MB / 461.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/0.5199, allocations: 43.98 kB / 461.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/0.5352, allocations: 7.67 MB / 468.9 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.417e-05/0.5352, allocations: 7.984 kB / 469 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/0.5481, allocations: 3.838 MB / 472.8 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/0.5509, allocations: 486.3 kB / 473.3 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/0.552, allocations: 35.98 kB / 473.3 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/0.555, allocations: 102.5 kB / 473.4 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005766/0.5556, allocations: 117 kB / 473.5 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002813/0.5559, allocations: 51.98 kB / 473.6 MB, free: 4.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005047/0.561, allocations: 1.364 MB / 474.9 MB, free: 2.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.561, allocations: 0 / 474.9 MB, free: 2.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004687/0.5657, allocations: 0.5859 MB / 475.5 MB, free: 2.121 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.0009586/0.5667, allocations: 223.4 kB / 475.7 MB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008679/0.5754, allocations: 2.612 MB / 478.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/0.5755, allocations: 0.5 kB / 478.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005313/0.5808, allocations: 1.61 MB / 480 MB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/0.5866, allocations: 0.493 MB / 480.5 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/0.6057, allocations: 5.597 MB / 486.1 MB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004104/0.6099, allocations: 2.136 MB / 488.2 MB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002884/0.6128, allocations: 473 kB / 488.6 MB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.6139, allocations: 143.3 kB / 488.8 MB, free: 4.68 MB / 398.1 MB Notification: Performance of SimCode: time 1.703e-06/0.6139, allocations: 0 / 488.8 MB, free: 4.68 MB / 398.1 MB Notification: Performance of Templates: time 0.07037/0.6843, allocations: 30.97 MB / 0.5076 GB, free: 5.996 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 cvode -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