Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 202.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008497/0.0008498, allocations: 95.39 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.575e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0939/0.09393, allocations: 51.48 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3145/0.4085, allocations: 103.2 MB / 498.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4088, allocations: 87.33 kB / 498.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1034/0.5122, allocations: 40.78 MB / 0.5266 GB, free: 2.277 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5122, allocations: 0 / 0.5266 GB, free: 2.277 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001122/0.5123, allocations: 47.94 kB / 0.5267 GB, free: 2.23 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003461/0.5158, allocations: 2.004 MB / 0.5286 GB, free: 180 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5158, allocations: 12.03 kB / 0.5286 GB, free: 168 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008937/0.5167, allocations: 297.1 kB / 0.5289 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.5191, allocations: 1.408 MB / 0.5303 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.5192, allocations: 56 kB / 0.5303 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.5194, allocations: 119.8 kB / 0.5304 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002782/0.5222, allocations: 1.741 MB / 0.5321 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/0.5255, allocations: 2.069 MB / 0.5342 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.704e-05/0.5255, allocations: 11.91 kB / 0.5342 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.5257, allocations: 4 kB / 0.5342 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.967e-05/0.5258, allocations: 79.5 kB / 0.5343 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.5361, allocations: 7.124 MB / 0.5412 GB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.5377, allocations: 1.254 MB / 0.5424 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.5387, allocations: 0.7202 MB / 0.5431 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.539, allocations: 129.8 kB / 0.5433 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.5391, allocations: 47.34 kB / 0.5433 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 2.796e-06/0.5391, allocations: 3.938 kB / 0.5433 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of matching and sorting (n=103): time 0.006891/0.546, allocations: 3.941 MB / 0.5472 GB, free: 12.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.546, allocations: 60.72 kB / 0.5472 GB, free: 12.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.5473, allocations: 0.9813 MB / 0.5482 GB, free: 11.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/0.5474, allocations: 25.7 kB / 0.5482 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/0.548, allocations: 0.9077 MB / 0.5491 GB, free: 10.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.5482, allocations: 346.8 kB / 0.5494 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.5483, allocations: 0 / 0.5494 GB, free: 10.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5484, allocations: 353.9 kB / 0.5498 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007668/0.5492, allocations: 0.5805 MB / 0.5503 GB, free: 9.395 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009346/0.5502, allocations: 0.8729 MB / 0.5512 GB, free: 8.402 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009528/0.5511, allocations: 0.7285 MB / 0.5519 GB, free: 7.676 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5511, allocations: 4 kB / 0.5519 GB, free: 7.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005429/0.5566, allocations: 2.265 MB / 0.5541 GB, free: 5.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.5566, allocations: 9.406 kB / 0.5541 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.5567, allocations: 8 kB / 0.5541 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/0.5594, allocations: 0.7589 MB / 0.5549 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.5607, allocations: 235.6 kB / 0.5551 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/0.5764, allocations: 8.174 MB / 0.5631 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.5782, allocations: 55.92 kB / 0.5631 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.5784, allocations: 56.11 kB / 0.5632 GB, free: 11.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003236/0.5787, allocations: 136.4 kB / 0.5633 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.5791, allocations: 134.4 kB / 0.5634 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/0.5835, allocations: 1.779 MB / 0.5652 GB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.5836, allocations: 12 kB / 0.5652 GB, free: 9.777 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5836, allocations: 4 kB / 0.5652 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.5836, allocations: 7.922 kB / 0.5652 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008851/0.5925, allocations: 3.625 MB / 0.5687 GB, free: 6.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.5925, allocations: 4 kB / 0.5687 GB, free: 6.062 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.5939, allocations: 199.7 kB / 0.5689 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/0.5957, allocations: 463 kB / 0.5694 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.5959, allocations: 15.98 kB / 0.5694 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2075/0.8034, allocations: 5.894 MB / 0.5751 GB, free: 96.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.8034, allocations: 6.172 kB / 0.5752 GB, free: 96.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/0.8069, allocations: 2.751 MB / 0.5778 GB, free: 96.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/0.8075, allocations: 345.3 kB / 0.5782 GB, free: 96.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.8077, allocations: 5.969 kB / 0.5782 GB, free: 96.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/0.8084, allocations: 60.88 kB / 0.5782 GB, free: 96.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.8086, allocations: 80.83 kB / 0.5783 GB, free: 96.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/0.8087, allocations: 32.95 kB / 0.5783 GB, free: 96.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009142/0.8096, allocations: 0.7469 MB / 0.5791 GB, free: 95.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8096, allocations: 0 / 0.5791 GB, free: 95.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001282/0.8109, allocations: 411.3 kB / 0.5795 GB, free: 95.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004129/0.8113, allocations: 282.5 kB / 0.5797 GB, free: 95.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0026/0.8139, allocations: 1.917 MB / 0.5816 GB, free: 95.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8139, allocations: 5.688 kB / 0.5816 GB, free: 95.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.8154, allocations: 1.284 MB / 0.5829 GB, free: 95.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.8168, allocations: 270.2 kB / 0.5831 GB, free: 95.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/0.8214, allocations: 3.234 MB / 0.5863 GB, free: 94.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.8226, allocations: 1.73 MB / 0.588 GB, free: 93.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009272/0.8235, allocations: 299.9 kB / 0.5883 GB, free: 93.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.8238, allocations: 87.59 kB / 0.5883 GB, free: 93.66 MB / 442.7 MB Notification: Performance of SimCode: time 8.12e-07/0.8238, allocations: 0 / 0.5883 GB, free: 93.66 MB / 442.7 MB Notification: Performance of Templates: time 0.03344/0.8573, allocations: 19.63 MB / 0.6075 GB, free: 92.74 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches