Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.4/1.4, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009068/0.0009066, allocations: 91.42 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002542, allocations: 11.94 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2414, allocations: 50.41 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.3802, allocations: 112.2 MB / 0.5017 GB, free: 208 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.3806, allocations: 87.95 kB / 0.5018 GB, free: 120 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4873/0.8679, allocations: 93.72 MB / 0.5933 GB, free: 20.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.8679, allocations: 0 / 0.5933 GB, free: 20.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002264/0.8682, allocations: 95.88 kB / 0.5934 GB, free: 20.28 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007308/0.8755, allocations: 3.97 MB / 0.5973 GB, free: 16.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.8755, allocations: 8.031 kB / 0.5973 GB, free: 16.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.8768, allocations: 0.5025 MB / 0.5978 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/0.8812, allocations: 2.568 MB / 0.6003 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.8813, allocations: 263.1 kB / 0.6005 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004259/0.8817, allocations: 351.9 kB / 0.6008 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00616/0.8879, allocations: 4.929 MB / 0.6057 GB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.567e-05/0.888, allocations: 11.89 kB / 0.6057 GB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.8883, allocations: 152 kB / 0.6058 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.8884, allocations: 175.1 kB / 0.606 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005432/0.8939, allocations: 4.049 MB / 0.6099 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02138/0.9153, allocations: 14.94 MB / 0.6245 GB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/0.9196, allocations: 4.211 MB / 0.6286 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.92, allocations: 151 kB / 0.6288 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.92, allocations: 64.56 kB / 0.6288 GB, free: 15.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.158e-06/0.92, allocations: 0 / 0.6288 GB, free: 15.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.02114/0.9412, allocations: 10.22 MB / 0.6388 GB, free: 4.676 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.9413, allocations: 77.41 kB / 0.6389 GB, free: 4.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003953/0.9452, allocations: 2.213 MB / 0.6411 GB, free: 2.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.9455, allocations: 65.7 kB / 0.6411 GB, free: 2.285 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.9468, allocations: 1.596 MB / 0.6427 GB, free: 0.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006632/0.9475, allocations: 0.7315 MB / 0.6434 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.9477, allocations: 48 kB / 0.6434 GB, free: 15.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.9479, allocations: 394.5 kB / 0.6438 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.9499, allocations: 1.312 MB / 0.6451 GB, free: 14.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.9521, allocations: 1.737 MB / 0.6468 GB, free: 12.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.9543, allocations: 1.556 MB / 0.6483 GB, free: 10.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.9544, allocations: 7.953 kB / 0.6483 GB, free: 10.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007048/0.9614, allocations: 4.056 MB / 0.6523 GB, free: 6.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.9615, allocations: 8 kB / 0.6523 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.9615, allocations: 12 kB / 0.6523 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/0.9634, allocations: 0.766 MB / 0.653 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.9656, allocations: 0.5226 MB / 0.6536 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2493/1.215, allocations: 8.939 MB / 0.6623 GB, free: 72.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/1.218, allocations: 116.5 kB / 0.6624 GB, free: 72.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/1.218, allocations: 88.89 kB / 0.6625 GB, free: 72.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002474/1.22, allocations: 1.214 MB / 0.6637 GB, free: 72.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006556/1.221, allocations: 274.7 kB / 0.6639 GB, free: 72.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005818/1.227, allocations: 3.784 MB / 0.6676 GB, free: 72.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/1.227, allocations: 20.25 kB / 0.6676 GB, free: 72.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.227, allocations: 6.531 kB / 0.6677 GB, free: 72.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/1.227, allocations: 13.23 kB / 0.6677 GB, free: 72.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/1.239, allocations: 8.075 MB / 0.6756 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.24, allocations: 5.891 kB / 0.6756 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/1.241, allocations: 399.5 kB / 0.6759 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/1.244, allocations: 0.7929 MB / 0.6767 GB, free: 71.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/1.244, allocations: 56.48 kB / 0.6768 GB, free: 71.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/1.254, allocations: 10.47 MB / 0.687 GB, free: 66.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.254, allocations: 4.562 kB / 0.687 GB, free: 66.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/1.263, allocations: 5.833 MB / 0.6927 GB, free: 66.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/1.265, allocations: 0.6431 MB / 0.6933 GB, free: 65.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00052/1.266, allocations: 51.36 kB / 0.6934 GB, free: 65.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/1.267, allocations: 128.3 kB / 0.6935 GB, free: 65.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000589/1.268, allocations: 187.4 kB / 0.6937 GB, free: 65.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/1.268, allocations: 64.34 kB / 0.6937 GB, free: 65.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002742/1.271, allocations: 1.706 MB / 0.6954 GB, free: 65.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.271, allocations: 0 / 0.6954 GB, free: 65.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003893/1.275, allocations: 0.8323 MB / 0.6962 GB, free: 65.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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: 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,(2,100.0%) 26,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008288/1.276, allocations: 379 kB / 0.6966 GB, free: 65.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005973/1.282, allocations: 3.944 MB / 0.7004 GB, free: 64.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.282, allocations: 0 / 0.7004 GB, free: 64.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00347/1.285, allocations: 2.502 MB / 0.7029 GB, free: 63.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/1.289, allocations: 0.7402 MB / 0.7036 GB, free: 63.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/1.305, allocations: 9.116 MB / 0.7125 GB, free: 58.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002666/1.307, allocations: 2.846 MB / 0.7153 GB, free: 57.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002803/1.31, allocations: 0.6815 MB / 0.7159 GB, free: 57.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/1.311, allocations: 175.2 kB / 0.7161 GB, free: 57.73 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/1.311, allocations: 2.812 kB / 0.7161 GB, free: 57.73 MB / 426.7 MB Notification: Performance of Templates: time 0.08532/1.396, allocations: 46.09 MB / 0.7611 GB, free: 35.05 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches