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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB
"
[Timeout remaining time 178]
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=30000,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=30000,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") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.88 kB / 378.8 MB, free: 2.762 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2685, allocations: 53.37 MB / 432.1 MB, free: 7.07 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01544/0.2839, allocations: 11.95 MB / 444.1 MB, free: 11.08 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008286/0.2922, allocations: 4.006 MB / 448.1 MB, free: 7.059 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.2941, allocations: 83.44 kB / 448.2 MB, free: 6.977 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002498/0.2966, allocations: 0.8969 MB / 449.1 MB, free: 6.078 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00346/0.3001, allocations: 1.041 MB / 450.1 MB, free: 5.031 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.3016, allocations: 0.5343 MB / 450.6 MB, free: 4.496 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004713/0.3064, allocations: 3.471 MB / 454.1 MB, free: 1.012 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.3087, allocations: 1.538 MB / 455.7 MB, free: 15.41 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.3111, allocations: 1.596 MB / 457.3 MB, free: 13.81 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.3139, allocations: 1.993 MB / 459.2 MB, free: 11.81 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0007207/0.3146, allocations: 412 kB / 459.6 MB, free: 11.41 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.3161, allocations: 0.6908 MB / 460.3 MB, free: 10.71 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001259/0.3173, allocations: 1.161 MB / 461.5 MB, free: 9.551 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002269/0.3196, allocations: 1.843 MB / 463.3 MB, free: 7.699 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.006691/0.3263, allocations: 5.406 MB / 468.7 MB, free: 2.273 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3263, allocations: 4 kB / 468.8 MB, free: 2.27 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.254e-06/0.3263, allocations: 4 kB / 468.8 MB, free: 2.266 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 0.0001371/0.3264, allocations: 3.938 kB / 468.8 MB, free: 2.262 MB / 366.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.008438/0.3349, allocations: 3.738 MB / 472.5 MB, free: 14.47 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3349, allocations: 8.031 kB / 472.5 MB, free: 14.46 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.3367, allocations: 494.4 kB / 473 MB, free: 13.98 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.3407, allocations: 1.918 MB / 474.9 MB, free: 12.02 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.3409, allocations: 197.4 kB / 475.1 MB, free: 11.83 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004475/0.3414, allocations: 271.9 kB / 475.4 MB, free: 11.56 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.007354/0.3487, allocations: 3.525 MB / 478.9 MB, free: 7.957 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.061e-05/0.3488, allocations: 11.92 kB / 478.9 MB, free: 7.945 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.3491, allocations: 108 kB / 479 MB, free: 7.84 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.3492, allocations: 117.3 kB / 479.1 MB, free: 7.723 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006103/0.3553, allocations: 2.968 MB / 482.1 MB, free: 4.742 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02091/0.3763, allocations: 10.83 MB / 492.9 MB, free: 9.57 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002868/0.3791, allocations: 1.513 MB / 494.4 MB, free: 8.062 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/0.3812, allocations: 1.094 MB / 495.5 MB, free: 6.973 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.3815, allocations: 61.23 kB / 495.6 MB, free: 6.914 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.3816, allocations: 43.88 kB / 495.6 MB, free: 6.859 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=131): time 3.757e-06/0.3816, allocations: 0 / 495.6 MB, free: 6.859 MB / 398.1 MB
Notification: Performance of matching and sorting (n=148): time 0.01752/0.3991, allocations: 7.1 MB / 0.4909 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3992, allocations: 64.72 kB / 0.491 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003512/0.4027, allocations: 1.996 MB / 0.493 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.4028, allocations: 53.69 kB / 0.493 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.404, allocations: 1.35 MB / 0.4943 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005621/0.4046, allocations: 0.5307 MB / 0.4948 GB, free: 11.66 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005468/0.4051, allocations: 323.5 kB / 0.4952 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000141/0.4052, allocations: 305.1 kB / 0.4954 GB, free: 11.04 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.4069, allocations: 0.8823 MB / 0.4963 GB, free: 10.16 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.4088, allocations: 1.372 MB / 0.4976 GB, free: 8.582 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.4127, allocations: 2.389 MB / 0.5 GB, free: 5.984 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.4127, allocations: 4 kB / 0.5 GB, free: 5.98 MB / 414.1 MB
Notification: Performance of matching and sorting (n=226) (initialization): time 0.005988/0.4187, allocations: 2.907 MB / 0.5028 GB, free: 3.055 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.4188, allocations: 12 kB / 0.5028 GB, free: 3.043 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/0.4188, allocations: 16 kB / 0.5029 GB, free: 3.027 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.42, allocations: 465.3 kB / 0.5033 GB, free: 2.566 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.4217, allocations: 427.3 kB / 0.5037 GB, free: 2.148 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007641/0.4294, allocations: 5.888 MB / 0.5095 GB, free: 12.04 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.4315, allocations: 127.9 kB / 0.5096 GB, free: 11.91 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.4317, allocations: 79.98 kB / 0.5097 GB, free: 11.83 MB / 430.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.001724/0.4334, allocations: 0.8524 MB / 0.5105 GB, free: 10.97 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/0.4339, allocations: 226.5 kB / 0.5107 GB, free: 10.75 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/0.4388, allocations: 2.504 MB / 0.5131 GB, free: 8.215 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-05/0.4388, allocations: 20 kB / 0.5132 GB, free: 8.195 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.4389, allocations: 8 kB / 0.5132 GB, free: 8.188 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.4389, allocations: 7.969 kB / 0.5132 GB, free: 8.18 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.4492, allocations: 5.503 MB / 0.5186 GB, free: 2.559 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.4492, allocations: 4 kB / 0.5186 GB, free: 2.555 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.4505, allocations: 284 kB / 0.5188 GB, free: 2.277 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/0.4521, allocations: 0.4941 MB / 0.5193 GB, free: 1.773 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.4522, allocations: 43.97 kB / 0.5194 GB, free: 1.73 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00912/0.4613, allocations: 7.37 MB / 0.5265 GB, free: 10.02 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.4613, allocations: 4 kB / 0.5266 GB, free: 10.02 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007284/0.4686, allocations: 3.765 MB / 0.5302 GB, free: 6.184 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.47, allocations: 418.3 kB / 0.5306 GB, free: 5.773 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005774/0.4706, allocations: 39.94 kB / 0.5307 GB, free: 5.734 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.4721, allocations: 103.9 kB / 0.5308 GB, free: 5.633 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.4724, allocations: 117 kB / 0.5309 GB, free: 5.52 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.4726, allocations: 47.98 kB / 0.5309 GB, free: 5.473 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.002729/0.4753, allocations: 1.364 MB / 0.5323 GB, free: 4.086 MB / 446.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4753, allocations: 0 / 0.5323 GB, free: 4.086 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.002476/0.4778, allocations: 0.5898 MB / 0.5328 GB, free: 3.496 MB / 446.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.0006035/0.4784, allocations: 225.4 kB / 0.533 GB, free: 3.266 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.005052/0.4834, allocations: 2.443 MB / 0.5354 GB, free: 0.793 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.4834, allocations: 0 / 0.5354 GB, free: 0.793 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.2204/0.7038, allocations: 1.531 MB / 0.5369 GB, free: 101.5 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.7064, allocations: 0.494 MB / 0.5374 GB, free: 101.4 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008333/0.7148, allocations: 5.723 MB / 0.543 GB, free: 99.38 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/0.7164, allocations: 2.142 MB / 0.5451 GB, free: 98.4 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001414/0.7178, allocations: 472.7 kB / 0.5455 GB, free: 98.33 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.7182, allocations: 144.5 kB / 0.5457 GB, free: 98.32 MB / 446.1 MB
Notification: Performance of SimCode: time 1.122e-06/0.7182, allocations: 0 / 0.5457 GB, free: 98.32 MB / 446.1 MB
Notification: Performance of Templates: time 0.05089/0.7691, allocations: 33.04 MB / 0.5779 GB, free: 70.56 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 6.428193272091448]