Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008277/0.0008277, allocations: 92.05 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.252e-05/1.254e-05, allocations: 0 / 343.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.08894, allocations: 51.48 MB / 395.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2996/0.3886, allocations: 105.8 MB / 0.4893 GB, free: 3.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3889, allocations: 85.33 kB / 0.4894 GB, free: 3.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1034/0.4923, allocations: 39.04 MB / 0.5275 GB, free: 1.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4923, allocations: 0 / 0.5275 GB, free: 1.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000198/0.4925, allocations: 55.92 kB / 0.5275 GB, free: 1.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004542/0.4971, allocations: 1.768 MB / 0.5293 GB, free: 15.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4971, allocations: 12.03 kB / 0.5293 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.4983, allocations: 233.5 kB / 0.5295 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/0.5008, allocations: 1.293 MB / 0.5308 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.5009, allocations: 48 kB / 0.5308 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.5011, allocations: 95.98 kB / 0.5309 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002617/0.5037, allocations: 1.463 MB / 0.5323 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.5065, allocations: 1.74 MB / 0.534 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.5066, allocations: 3.906 kB / 0.534 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.5067, allocations: 4 kB / 0.534 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.328e-05/0.5068, allocations: 70.92 kB / 0.5341 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009194/0.516, allocations: 6.699 MB / 0.5406 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.5167, allocations: 461.9 kB / 0.5411 GB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.5171, allocations: 270.5 kB / 0.5413 GB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002363/0.5195, allocations: 1.382 MB / 0.5427 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.5195, allocations: 42.55 kB / 0.5427 GB, free: 1.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/0.5195, allocations: 0 / 0.5427 GB, free: 1.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.003457/0.523, allocations: 2.08 MB / 0.5448 GB, free: 15.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.523, allocations: 59.97 kB / 0.5448 GB, free: 15.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.5245, allocations: 1.177 MB / 0.546 GB, free: 13.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.5246, allocations: 25.7 kB / 0.546 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/0.5252, allocations: 1.036 MB / 0.547 GB, free: 12.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.5254, allocations: 209.2 kB / 0.5472 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.5254, allocations: 0 / 0.5472 GB, free: 12.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5256, allocations: 373.9 kB / 0.5476 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.5262, allocations: 447.8 kB / 0.548 GB, free: 11.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.5273, allocations: 1.299 MB / 0.5493 GB, free: 10 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/0.5282, allocations: 0.7084 MB / 0.5499 GB, free: 9.293 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.5282, allocations: 8 kB / 0.55 GB, free: 9.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002567/0.5308, allocations: 1.786 MB / 0.5517 GB, free: 7.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.5308, allocations: 23.94 kB / 0.5517 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.5308, allocations: 32 kB / 0.5517 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/0.5314, allocations: 226.5 kB / 0.552 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.5325, allocations: 383.3 kB / 0.5523 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.5341, allocations: 1.682 MB / 0.554 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.5352, allocations: 115.5 kB / 0.5541 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.5353, allocations: 91.98 kB / 0.5542 GB, free: 4.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002014/0.5355, allocations: 176.2 kB / 0.5543 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.5357, allocations: 138.2 kB / 0.5545 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.5372, allocations: 0.9374 MB / 0.5554 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/0.5372, allocations: 8 kB / 0.5554 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5372, allocations: 0 / 0.5554 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5373, allocations: 0 / 0.5554 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/0.541, allocations: 2.367 MB / 0.5577 GB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.541, allocations: 3.953 kB / 0.5577 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.5415, allocations: 119.8 kB / 0.5578 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.542, allocations: 170.5 kB / 0.558 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.542, allocations: 0 / 0.558 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.5435, allocations: 1.627 MB / 0.5596 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5435, allocations: 0 / 0.5596 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.5454, allocations: 1.43 MB / 0.561 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/0.5459, allocations: 279.3 kB / 0.5612 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.546, allocations: 3.953 kB / 0.5612 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.5466, allocations: 47.94 kB / 0.5613 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.5468, allocations: 40.56 kB / 0.5613 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.5468, allocations: 20 kB / 0.5613 GB, free: 13.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001168/0.548, allocations: 0.8488 MB / 0.5622 GB, free: 12.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.548, allocations: 0 / 0.5622 GB, free: 12.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001328/0.5493, allocations: 324 kB / 0.5625 GB, free: 12.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005151/0.5499, allocations: 345.6 kB / 0.5628 GB, free: 11.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.5518, allocations: 1.404 MB / 0.5642 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5518, allocations: 0 / 0.5642 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.5526, allocations: 0.6991 MB / 0.5649 GB, free: 9.484 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.5541, allocations: 309 kB / 0.5652 GB, free: 9.184 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.5579, allocations: 2.174 MB / 0.5673 GB, free: 6.973 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009923/0.5589, allocations: 1.495 MB / 0.5687 GB, free: 5.441 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001041/0.56, allocations: 344.7 kB / 0.5691 GB, free: 5.098 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.5602, allocations: 99.42 kB / 0.5692 GB, free: 5.004 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5602, allocations: 0 / 0.5692 GB, free: 5.004 MB / 442.7 MB Notification: Performance of Templates: time 0.2216/0.7818, allocations: 15.72 MB / 0.5845 GB, free: 98.75 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches