Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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_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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 174.4 kB / 13.63 MB, free: 1.684 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.277/1.277, allocations: 221.3 MB / 235.5 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008891/0.0008892, allocations: 83.86 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.183e-05, allocations: 0 / 343.8 MB, free: 4.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08006/0.08009, allocations: 50.42 MB / 394.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2828/0.3629, allocations: 103.1 MB / 497.3 MB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.3631, allocations: 91.78 kB / 497.4 MB, free: 388 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.106/0.4691, allocations: 41.18 MB / 0.526 GB, free: 6.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.4692, allocations: 0 / 0.526 GB, free: 6.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001084/0.4693, allocations: 55.88 kB / 0.526 GB, free: 6.855 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003227/0.4725, allocations: 1.988 MB / 0.5279 GB, free: 4.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4725, allocations: 8.031 kB / 0.528 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/0.4732, allocations: 277.1 kB / 0.5282 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.4755, allocations: 1.4 MB / 0.5296 GB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.4756, allocations: 135.6 kB / 0.5297 GB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.4759, allocations: 183.9 kB / 0.5299 GB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.4793, allocations: 2.33 MB / 0.5322 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.4793, allocations: 7.906 kB / 0.5322 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.4795, allocations: 75.95 kB / 0.5322 GB, free: 276 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.19e-05/0.4796, allocations: 79.5 kB / 0.5323 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.4824, allocations: 1.837 MB / 0.5341 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.4928, allocations: 7.495 MB / 0.5414 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.4945, allocations: 1.285 MB / 0.5427 GB, free: 5.281 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.4958, allocations: 0.8216 MB / 0.5435 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.496, allocations: 141.8 kB / 0.5436 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.4961, allocations: 43.34 kB / 0.5437 GB, free: 4.254 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 3.186e-06/0.4961, allocations: 0 / 0.5437 GB, free: 4.254 MB / 426.7 MB Notification: Performance of matching and sorting (n=103): time 0.007045/0.5032, allocations: 4.096 MB / 0.5477 GB, free: 96 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.5032, allocations: 64.41 kB / 0.5477 GB, free: 20 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1889/0.6921, allocations: 1.172 MB / 0.5489 GB, free: 108.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002484/0.6924, allocations: 43.7 kB / 0.5489 GB, free: 108.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/0.693, allocations: 0.8945 MB / 0.5498 GB, free: 108.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.6933, allocations: 361.2 kB / 0.5501 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.6934, allocations: 26.59 kB / 0.5502 GB, free: 108.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.6935, allocations: 351.2 kB / 0.5505 GB, free: 108 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008746/0.6944, allocations: 0.6051 MB / 0.5511 GB, free: 108 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.6954, allocations: 0.9052 MB / 0.552 GB, free: 107.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.6964, allocations: 0.7422 MB / 0.5527 GB, free: 107.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6965, allocations: 2.75 kB / 0.5527 GB, free: 107.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003953/0.7004, allocations: 2.392 MB / 0.555 GB, free: 107.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.7005, allocations: 10.16 kB / 0.555 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.7005, allocations: 8.875 kB / 0.5551 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.7029, allocations: 0.771 MB / 0.5558 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.7039, allocations: 237.8 kB / 0.556 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/0.7206, allocations: 8.551 MB / 0.5644 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.7226, allocations: 85.64 kB / 0.5645 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.7228, allocations: 54.78 kB / 0.5645 GB, free: 104.8 MB / 426.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: 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.0003599/0.7232, allocations: 170.5 kB / 0.5647 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.7236, allocations: 140.7 kB / 0.5648 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0055/0.7291, allocations: 1.865 MB / 0.5666 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.7292, allocations: 13.92 kB / 0.5666 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.7292, allocations: 3.375 kB / 0.5667 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.7292, allocations: 7.562 kB / 0.5667 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.7398, allocations: 3.965 MB / 0.5705 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.7399, allocations: 2.406 kB / 0.5705 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.7414, allocations: 201.1 kB / 0.5707 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.7436, allocations: 464.7 kB / 0.5712 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.7437, allocations: 32.94 kB / 0.5712 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008132/0.7519, allocations: 6.166 MB / 0.5772 GB, free: 97.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.7519, allocations: 9.156 kB / 0.5772 GB, free: 97.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/0.7573, allocations: 2.859 MB / 0.58 GB, free: 96.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/0.7579, allocations: 361.8 kB / 0.5804 GB, free: 96.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.7581, allocations: 27.73 kB / 0.5804 GB, free: 96.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007279/0.7588, allocations: 72.72 kB / 0.5805 GB, free: 96.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.759, allocations: 88.88 kB / 0.5805 GB, free: 96.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.65e-05/0.7591, allocations: 31.8 kB / 0.5806 GB, free: 96.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009785/0.76, allocations: 0.9128 MB / 0.5815 GB, free: 95.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7601, allocations: 0 / 0.5815 GB, free: 95.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001328/0.7614, allocations: 465.7 kB / 0.5819 GB, free: 95.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 84 * 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.0003946/0.7618, allocations: 301 kB / 0.5822 GB, free: 95.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.7643, allocations: 2 MB / 0.5842 GB, free: 94.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7643, allocations: 0 / 0.5842 GB, free: 94.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.7657, allocations: 1.327 MB / 0.5854 GB, free: 94.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.767, allocations: 352.5 kB / 0.5858 GB, free: 94.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.7708, allocations: 3.311 MB / 0.589 GB, free: 92.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000892/0.7717, allocations: 1.734 MB / 0.5907 GB, free: 91.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007521/0.7725, allocations: 310.6 kB / 0.591 GB, free: 91.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.7727, allocations: 100.8 kB / 0.5911 GB, free: 91.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7727, allocations: 6.25 kB / 0.5911 GB, free: 91.72 MB / 426.7 MB Notification: Performance of Templates: time 0.0299/0.8026, allocations: 24.77 MB / 0.6153 GB, free: 85.3 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches