Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001075, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008204/0.0008205, allocations: 96.19 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.197e-05/1.199e-05, allocations: 0 / 343.7 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08434/0.08437, allocations: 51.49 MB / 395.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2943/0.3787, allocations: 104.3 MB / 499.5 MB, free: 5.137 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.379, allocations: 90.19 kB / 499.6 MB, free: 5.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1129/0.4919, allocations: 44.29 MB / 0.5311 GB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.492, allocations: 0 / 0.5311 GB, free: 13.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002327/0.4922, allocations: 55.94 kB / 0.5312 GB, free: 13.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005645/0.4979, allocations: 2.197 MB / 0.5333 GB, free: 11.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.4979, allocations: 8.031 kB / 0.5333 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.4994, allocations: 328.8 kB / 0.5337 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003381/0.5028, allocations: 1.539 MB / 0.5352 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.503, allocations: 67.95 kB / 0.5352 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005105/0.5035, allocations: 127.9 kB / 0.5353 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003942/0.5074, allocations: 2.015 MB / 0.5373 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004401/0.5119, allocations: 2.34 MB / 0.5396 GB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.263e-05/0.5119, allocations: 11.89 kB / 0.5396 GB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.5121, allocations: 7.984 kB / 0.5396 GB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.594e-05/0.5122, allocations: 87.94 kB / 0.5397 GB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.5254, allocations: 8.045 MB / 0.5476 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.5274, allocations: 1.724 MB / 0.5492 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.5286, allocations: 0.8638 MB / 0.5501 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.5289, allocations: 138.3 kB / 0.5502 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.529, allocations: 51.86 kB / 0.5503 GB, free: 9.422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 2.795e-06/0.529, allocations: 0 / 0.5503 GB, free: 9.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.007816/0.5368, allocations: 4.361 MB / 0.5545 GB, free: 5.012 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.5369, allocations: 64.72 kB / 0.5546 GB, free: 4.934 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.5387, allocations: 1.104 MB / 0.5557 GB, free: 3.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.629e-05/0.5388, allocations: 29.7 kB / 0.5557 GB, free: 3.789 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/0.5394, allocations: 0.9671 MB / 0.5566 GB, free: 2.809 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.5398, allocations: 409.9 kB / 0.557 GB, free: 2.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.5399, allocations: 0 / 0.557 GB, free: 2.402 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.54, allocations: 361.9 kB / 0.5574 GB, free: 2.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009275/0.541, allocations: 0.6677 MB / 0.558 GB, free: 1.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.5421, allocations: 0.976 MB / 0.559 GB, free: 288 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.5434, allocations: 0.8144 MB / 0.5598 GB, free: 15.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.5434, allocations: 4 kB / 0.5598 GB, free: 15.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003585/0.547, allocations: 2.13 MB / 0.5619 GB, free: 13.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.547, allocations: 12.31 kB / 0.5619 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.547, allocations: 12 kB / 0.5619 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000924/0.548, allocations: 399.1 kB / 0.5623 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.5493, allocations: 351.4 kB / 0.5626 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.554, allocations: 4.417 MB / 0.5669 GB, free: 7.891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.5552, allocations: 67.97 kB / 0.567 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.5554, allocations: 51.98 kB / 0.567 GB, free: 7.773 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.5557, allocations: 132.6 kB / 0.5672 GB, free: 7.637 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004223/0.5561, allocations: 154.1 kB / 0.5673 GB, free: 7.484 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.5598, allocations: 1.999 MB / 0.5693 GB, free: 5.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.5599, allocations: 12 kB / 0.5693 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.5599, allocations: 4 kB / 0.5693 GB, free: 5.445 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.5599, allocations: 11.97 kB / 0.5693 GB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007924/0.5679, allocations: 4.145 MB / 0.5733 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.5679, allocations: 4 kB / 0.5733 GB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.569, allocations: 236 kB / 0.5736 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.5702, allocations: 465.1 kB / 0.574 GB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.5703, allocations: 19.94 kB / 0.574 GB, free: 492 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1941/0.7644, allocations: 5.889 MB / 0.5798 GB, free: 91.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.7645, allocations: 2.781 kB / 0.5798 GB, free: 91.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/0.7683, allocations: 3.16 MB / 0.5829 GB, free: 90.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/0.769, allocations: 385.7 kB / 0.5832 GB, free: 90.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.7692, allocations: 9.375 kB / 0.5832 GB, free: 90.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007623/0.77, allocations: 61.09 kB / 0.5833 GB, free: 90.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.7702, allocations: 109.7 kB / 0.5834 GB, free: 90.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.7703, allocations: 34.47 kB / 0.5834 GB, free: 90.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009602/0.7713, allocations: 0.8351 MB / 0.5842 GB, free: 90.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7713, allocations: 3.469 kB / 0.5843 GB, free: 90.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001234/0.7725, allocations: 424.8 kB / 0.5847 GB, free: 90.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.0004122/0.7729, allocations: 288.5 kB / 0.5849 GB, free: 90.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.7754, allocations: 2.128 MB / 0.587 GB, free: 89.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7754, allocations: 0 / 0.587 GB, free: 89.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.777, allocations: 1.425 MB / 0.5884 GB, free: 89.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.7785, allocations: 318.6 kB / 0.5887 GB, free: 89.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005356/0.7838, allocations: 3.619 MB / 0.5922 GB, free: 88.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.7851, allocations: 1.862 MB / 0.5941 GB, free: 87.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001148/0.7863, allocations: 381.6 kB / 0.5944 GB, free: 87.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.7866, allocations: 101 kB / 0.5945 GB, free: 87.95 MB / 442.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7866, allocations: 2.625 kB / 0.5945 GB, free: 87.95 MB / 442.7 MB Notification: Performance of Templates: time 0.03337/0.8199, allocations: 20.56 MB / 0.6146 GB, free: 87 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches