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.001239/0.001239, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.409/1.409, allocations: 223.3 MB / 241.4 MB, free: 11.61 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.0007636/0.0007636, allocations: 96.89 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003843, allocations: 15.94 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2353, allocations: 50.4 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3581, allocations: 105.6 MB / 0.4964 GB, free: 6.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3583, allocations: 88.64 kB / 0.4965 GB, free: 6.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3369/0.6953, allocations: 53.39 MB / 0.5487 GB, free: 66.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6953, allocations: 4 kB / 0.5487 GB, free: 66.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002867/0.6956, allocations: 67.94 kB / 0.5487 GB, free: 66.37 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.008431/0.704, allocations: 3.005 MB / 0.5517 GB, free: 63.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.736e-05/0.7041, allocations: 12.03 kB / 0.5517 GB, free: 63.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.7058, allocations: 360.9 kB / 0.552 GB, free: 62.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004909/0.7107, allocations: 1.949 MB / 0.5539 GB, free: 60.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.711, allocations: 197.5 kB / 0.5541 GB, free: 60.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/0.7121, allocations: 264.2 kB / 0.5544 GB, free: 60.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008607/0.7207, allocations: 3.517 MB / 0.5578 GB, free: 56.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.7209, allocations: 4.188 kB / 0.5578 GB, free: 56.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006051/0.7215, allocations: 107.9 kB / 0.5579 GB, free: 56.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.7216, allocations: 108.9 kB / 0.558 GB, free: 56.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006059/0.7277, allocations: 2.974 MB / 0.5609 GB, free: 53.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/0.7456, allocations: 10.93 MB / 0.5716 GB, free: 42.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.7487, allocations: 3.136 MB / 0.5746 GB, free: 39.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.7503, allocations: 1.317 MB / 0.5759 GB, free: 37.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.7506, allocations: 134.4 kB / 0.5761 GB, free: 37.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.7522, allocations: 1.168 MB / 0.5772 GB, free: 36.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=159): time 5.631e-06/0.7522, allocations: 0 / 0.5772 GB, free: 36.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01765/0.7699, allocations: 8.773 MB / 0.5858 GB, free: 27.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.77, allocations: 180.2 kB / 0.5859 GB, free: 27.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/0.7731, allocations: 1.812 MB / 0.5877 GB, free: 25.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.7734, allocations: 61.69 kB / 0.5878 GB, free: 25.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009706/0.7744, allocations: 1.161 MB / 0.5889 GB, free: 24.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005302/0.7749, allocations: 0.5739 MB / 0.5895 GB, free: 23.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.7751, allocations: 36 kB / 0.5895 GB, free: 23.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7752, allocations: 377.8 kB / 0.5899 GB, free: 23.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.7767, allocations: 1.003 MB / 0.5908 GB, free: 22.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.7783, allocations: 1.386 MB / 0.5922 GB, free: 20.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/0.7813, allocations: 2.395 MB / 0.5945 GB, free: 18.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.7813, allocations: 0 / 0.5945 GB, free: 18.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.005005/0.7864, allocations: 3.287 MB / 0.5977 GB, free: 14.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.7864, allocations: 8 kB / 0.5977 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.7864, allocations: 12 kB / 0.5978 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/0.7882, allocations: 0.8838 MB / 0.5986 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.7894, allocations: 335.5 kB / 0.5989 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008867/0.7983, allocations: 9.561 MB / 0.6083 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.8001, allocations: 135.9 kB / 0.6084 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.8003, allocations: 75.98 kB / 0.6085 GB, free: 3.461 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.001726/0.8021, allocations: 0.9137 MB / 0.6094 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/0.8026, allocations: 205.5 kB / 0.6096 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004999/0.8076, allocations: 3.15 MB / 0.6126 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.8076, allocations: 20.12 kB / 0.6127 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.8076, allocations: 8 kB / 0.6127 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.8077, allocations: 15.91 kB / 0.6127 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.8192, allocations: 6.288 MB / 0.6188 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.8193, allocations: 0 / 0.6188 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009718/0.8202, allocations: 227.9 kB / 0.619 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.8224, allocations: 0.9325 MB / 0.62 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.8226, allocations: 43.98 kB / 0.62 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/0.8345, allocations: 11.06 MB / 0.6308 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8346, allocations: 0 / 0.6308 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007825/0.8424, allocations: 4.583 MB / 0.6353 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.8437, allocations: 0.4984 MB / 0.6358 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005554/0.8443, allocations: 35.98 kB / 0.6358 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.8456, allocations: 119.9 kB / 0.6359 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004953/0.8461, allocations: 209.6 kB / 0.6361 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.8462, allocations: 47.98 kB / 0.6362 GB, free: 6.336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002035/0.8483, allocations: 1.235 MB / 0.6374 GB, free: 5.109 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.8483, allocations: 0 / 0.6374 GB, free: 5.109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002736/0.851, allocations: 0.6601 MB / 0.638 GB, free: 4.449 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.0006312/0.8517, allocations: 323.6 kB / 0.6383 GB, free: 4.125 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005326/0.857, allocations: 3.259 MB / 0.6415 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.857, allocations: 0 / 0.6415 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003672/0.8607, allocations: 2.296 MB / 0.6437 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/0.8644, allocations: 0.551 MB / 0.6443 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.8763, allocations: 6.693 MB / 0.6508 GB, free: 7.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/0.8787, allocations: 2.191 MB / 0.653 GB, free: 4.895 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001831/0.8806, allocations: 441.3 kB / 0.6534 GB, free: 4.461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/0.881, allocations: 127.4 kB / 0.6535 GB, free: 4.336 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.881, allocations: 0 / 0.6535 GB, free: 4.336 MB / 426.7 MB Notification: Performance of Templates: time 0.2627/1.144, allocations: 37.37 MB / 0.69 GB, free: 104.6 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/jenkins1/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