Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 180.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009159/0.0009158, allocations: 93.42 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 8 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.323, allocations: 50.41 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.4558, allocations: 105.5 MB / 0.4951 GB, free: 6.949 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.456, allocations: 91.95 kB / 0.4952 GB, free: 6.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3821/0.8381, allocations: 53.4 MB / 0.5473 GB, free: 66.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.8382, allocations: 0 / 0.5473 GB, free: 66.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002796/0.8385, allocations: 67.94 kB / 0.5474 GB, free: 66.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.008776/0.8473, allocations: 3.025 MB / 0.5504 GB, free: 63.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.8473, allocations: 12.03 kB / 0.5504 GB, free: 63.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.8488, allocations: 363.9 kB / 0.5507 GB, free: 63.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004565/0.8534, allocations: 1.898 MB / 0.5526 GB, free: 61.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.8536, allocations: 205 kB / 0.5528 GB, free: 61.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007518/0.8544, allocations: 251.9 kB / 0.553 GB, free: 60.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006605/0.861, allocations: 3.493 MB / 0.5564 GB, free: 57.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.522e-05/0.8611, allocations: 8 kB / 0.5564 GB, free: 57.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003641/0.8615, allocations: 104 kB / 0.5565 GB, free: 57.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.761e-05/0.8616, allocations: 104.9 kB / 0.5566 GB, free: 56.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004932/0.8665, allocations: 2.982 MB / 0.5595 GB, free: 53.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.8823, allocations: 10.9 MB / 0.5702 GB, free: 42.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.8852, allocations: 3.151 MB / 0.5733 GB, free: 39.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.8855, allocations: 138.4 kB / 0.5734 GB, free: 39.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.887, allocations: 1.168 MB / 0.5745 GB, free: 38.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=159): time 4.078e-06/0.887, allocations: 0 / 0.5745 GB, free: 38.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01684/0.9039, allocations: 8.771 MB / 0.5831 GB, free: 29.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.904, allocations: 180.2 kB / 0.5833 GB, free: 28.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.9065, allocations: 1.608 MB / 0.5848 GB, free: 27.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.9066, allocations: 57.7 kB / 0.5849 GB, free: 27.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008973/0.9075, allocations: 1.177 MB / 0.586 GB, free: 26.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.9079, allocations: 0.5662 MB / 0.5866 GB, free: 25.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.908, allocations: 36 kB / 0.5866 GB, free: 25.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.9081, allocations: 373.9 kB / 0.587 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.9094, allocations: 1.011 MB / 0.588 GB, free: 24.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.9109, allocations: 1.374 MB / 0.5893 GB, free: 22.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.9124, allocations: 1.165 MB / 0.5904 GB, free: 21.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.9124, allocations: 4 kB / 0.5905 GB, free: 21.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004672/0.9171, allocations: 3.303 MB / 0.5937 GB, free: 18.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.9171, allocations: 8 kB / 0.5937 GB, free: 18.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.9172, allocations: 12 kB / 0.5937 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/0.919, allocations: 0.8816 MB / 0.5946 GB, free: 17.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.9202, allocations: 335.5 kB / 0.5949 GB, free: 16.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009025/0.9292, allocations: 9.831 MB / 0.6045 GB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.931, allocations: 151.9 kB / 0.6046 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/0.9313, allocations: 67.98 kB / 0.6047 GB, free: 6.371 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 174 * 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: 3 * 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: 3 {(2,100.0%) 12,(9,33.3%) 25,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0019/0.9332, allocations: 0.9242 MB / 0.6056 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005621/0.9337, allocations: 209.5 kB / 0.6058 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/0.9385, allocations: 3.158 MB / 0.6089 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.9385, allocations: 20 kB / 0.6089 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/0.9386, allocations: 4 kB / 0.6089 GB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.9386, allocations: 15.97 kB / 0.6089 GB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/0.9517, allocations: 6.294 MB / 0.6151 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.9518, allocations: 0 / 0.6151 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.9528, allocations: 220.1 kB / 0.6153 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.9552, allocations: 0.9265 MB / 0.6162 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.9554, allocations: 47.92 kB / 0.6162 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.9686, allocations: 11.37 MB / 0.6273 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.9687, allocations: 7.938 kB / 0.6273 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007996/0.9767, allocations: 4.743 MB / 0.632 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.9783, allocations: 0.4984 MB / 0.6324 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006245/0.9789, allocations: 39.98 kB / 0.6325 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.9803, allocations: 115.9 kB / 0.6326 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005141/0.9808, allocations: 209.6 kB / 0.6328 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.981, allocations: 47.98 kB / 0.6328 GB, free: 8.703 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002619/0.9836, allocations: 1.239 MB / 0.6341 GB, free: 7.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9836, allocations: 0 / 0.6341 GB, free: 7.473 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003114/0.9867, allocations: 0.6562 MB / 0.6347 GB, free: 6.816 MB / 410.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: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007626/0.9875, allocations: 322.7 kB / 0.635 GB, free: 6.496 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005661/0.9932, allocations: 3.273 MB / 0.6382 GB, free: 3.137 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.9932, allocations: 1.875 kB / 0.6382 GB, free: 3.137 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003549/0.9968, allocations: 2.289 MB / 0.6404 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/0.9996, allocations: 0.5313 MB / 0.641 GB, free: 260 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.012, allocations: 6.708 MB / 0.6475 GB, free: 9.492 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003153/1.015, allocations: 2.242 MB / 0.6497 GB, free: 7.215 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001973/1.017, allocations: 445.3 kB / 0.6501 GB, free: 6.777 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006799/1.017, allocations: 127.4 kB / 0.6502 GB, free: 6.652 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/1.017, allocations: 0 / 0.6502 GB, free: 6.652 MB / 426.7 MB Notification: Performance of Templates: time 0.2717/1.289, allocations: 36.96 MB / 0.6863 GB, free: 105.5 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches