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/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.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/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 97.77 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 198.6 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 8 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.008323/0.1277, allocations: 7.24 MB / 365.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005585/0.1334, allocations: 2.826 MB / 368.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.1346, allocations: 35.88 kB / 368.2 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.1363, allocations: 0.5092 MB / 368.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.1393, allocations: 0.6153 MB / 369.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.1404, allocations: 199.7 kB / 369.5 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003038/0.1434, allocations: 1.525 MB / 371 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2066/0.3501, allocations: 1.223 MB / 372.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.3518, allocations: 0.7419 MB / 373 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.3533, allocations: 0.9581 MB / 373.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003304/0.3537, allocations: 117 kB / 374.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.3543, allocations: 194.1 kB / 374.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008976/0.3552, allocations: 0.5784 MB / 374.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006639/0.3559, allocations: 451.7 kB / 375.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004304/0.3602, allocations: 2.933 MB / 378.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3603, allocations: 0 / 378.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3603, allocations: 0 / 378.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001372/0.3604, allocations: 0 / 378.2 MB, free: 9.609 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005729/0.3661, allocations: 2.212 MB / 380.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3662, allocations: 16.28 kB / 380.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.3675, allocations: 298 kB / 380.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.3699, allocations: 1.323 MB / 382 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.37, allocations: 144.3 kB / 382.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.3703, allocations: 182 kB / 382.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004329/0.3746, allocations: 2.387 MB / 384.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.066e-05/0.3747, allocations: 7 kB / 384.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.3749, allocations: 71.98 kB / 384.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.375, allocations: 83.25 kB / 384.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.3786, allocations: 2.023 MB / 386.9 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.3902, allocations: 7.446 MB / 394.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3919, allocations: 1.288 MB / 395.7 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.3921, allocations: 118.1 kB / 395.8 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3922, allocations: 45.97 kB / 395.8 MB, free: 2.039 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.347e-06/0.3922, allocations: 0 / 395.8 MB, free: 2.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.009589/0.4018, allocations: 4.941 MB / 400.8 MB, free: 15.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4018, allocations: 61.38 kB / 400.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.404, allocations: 1.339 MB / 402.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.4041, allocations: 51.89 kB / 402.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007085/0.4048, allocations: 0.893 MB / 403.1 MB, free: 13.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.4051, allocations: 359.1 kB / 403.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.4052, allocations: 20 kB / 403.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4054, allocations: 354.8 kB / 403.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.4064, allocations: 0.6428 MB / 404.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.4075, allocations: 0.9297 MB / 405.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.4088, allocations: 0.772 MB / 406.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4088, allocations: 4 kB / 406.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004243/0.413, allocations: 2.418 MB / 408.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.4131, allocations: 12.03 kB / 408.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.4131, allocations: 8 kB / 408.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.415, allocations: 0.739 MB / 409.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008444/0.4158, allocations: 229.1 kB / 409.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.4266, allocations: 8.546 MB / 418.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.4281, allocations: 87.81 kB / 418.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.4283, allocations: 48.25 kB / 418.2 MB, free: 13.69 MB / 334.1 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 () * Number of clocked 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%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001516/0.4298, allocations: 0.6262 MB / 418.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.4301, allocations: 146.2 kB / 419 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/0.4333, allocations: 1.925 MB / 420.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.4334, allocations: 8 kB / 420.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4334, allocations: 4 kB / 421 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.4334, allocations: 3.984 kB / 421 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006691/0.4401, allocations: 3.983 MB / 424.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4401, allocations: 4.219 kB / 424.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.4409, allocations: 191.7 kB / 425.1 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.4421, allocations: 462.9 kB / 425.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.4422, allocations: 23.98 kB / 425.6 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006039/0.4482, allocations: 6.272 MB / 431.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4483, allocations: 0 / 431.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/0.4528, allocations: 2.912 MB / 434.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.4538, allocations: 347.2 kB / 435.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.454, allocations: 31.98 kB / 435.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000734/0.4547, allocations: 71.92 kB / 435.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.4549, allocations: 84.83 kB / 435.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-05/0.455, allocations: 24 kB / 435.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001488/0.4565, allocations: 0.9193 MB / 436.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.4565, allocations: 3.938 kB / 436.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001797/0.4583, allocations: 433.9 kB / 436.7 MB, free: 10.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0003984/0.4587, allocations: 153 kB / 436.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003439/0.4622, allocations: 2.041 MB / 438.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4622, allocations: 0 / 438.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.4641, allocations: 1.361 MB / 440.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.4657, allocations: 360.8 kB / 440.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.4727, allocations: 4.777 MB / 445.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/0.4742, allocations: 1.724 MB / 447.1 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001153/0.4753, allocations: 315.9 kB / 447.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.4756, allocations: 99.41 kB / 447.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4756, allocations: 0 / 447.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of Templates: time 0.03718/0.5128, allocations: 21.75 MB / 469.2 MB, free: 10.1 MB / 382.1 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