Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009598/0.0009599, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 90.69 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.384e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08028/0.08032, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3031/0.3834, allocations: 111.3 MB / 474.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3837, allocations: 90.69 kB / 474.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.41/0.7938, allocations: 92.38 MB / 0.5536 GB, free: 87.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.7938, allocations: 3.469 kB / 0.5536 GB, free: 87.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003583/0.7942, allocations: 96.12 kB / 0.5537 GB, free: 87.66 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01024/0.8044, allocations: 3.549 MB / 0.5571 GB, free: 86.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8045, allocations: 7.812 kB / 0.5571 GB, free: 86.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.8071, allocations: 0.4999 MB / 0.5576 GB, free: 86.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006116/0.8132, allocations: 2.54 MB / 0.5601 GB, free: 85.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.8134, allocations: 121.6 kB / 0.5602 GB, free: 85.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.8148, allocations: 217.6 kB / 0.5604 GB, free: 85.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00743/0.8223, allocations: 3.696 MB / 0.564 GB, free: 85.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007595/0.8299, allocations: 4.323 MB / 0.5683 GB, free: 84.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.658e-05/0.83, allocations: 13.58 kB / 0.5683 GB, free: 84.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/0.8303, allocations: 3.812 kB / 0.5683 GB, free: 84.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.8304, allocations: 175.6 kB / 0.5684 GB, free: 84.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02205/0.8525, allocations: 14.24 MB / 0.5824 GB, free: 79.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.8555, allocations: 4.075 MB / 0.5863 GB, free: 77.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.8574, allocations: 1.746 MB / 0.588 GB, free: 76.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.8577, allocations: 142.7 kB / 0.5882 GB, free: 76.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.8577, allocations: 64.19 kB / 0.5882 GB, free: 76.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.478e-06/0.8577, allocations: 3.938 kB / 0.5882 GB, free: 76.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.01143/0.8692, allocations: 7.192 MB / 0.5953 GB, free: 73.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.8692, allocations: 75.55 kB / 0.5953 GB, free: 73.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.8714, allocations: 1.743 MB / 0.597 GB, free: 72.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.8715, allocations: 29.7 kB / 0.5971 GB, free: 72.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007029/0.8722, allocations: 1.61 MB / 0.5986 GB, free: 71.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.8726, allocations: 0.7076 MB / 0.5993 GB, free: 70.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.8728, allocations: 0 / 0.5993 GB, free: 70.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8729, allocations: 400.6 kB / 0.5997 GB, free: 70.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.8741, allocations: 1.186 MB / 0.6009 GB, free: 69.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.8756, allocations: 1.608 MB / 0.6024 GB, free: 68.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.8773, allocations: 1.436 MB / 0.6038 GB, free: 68.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.8773, allocations: 3.281 kB / 0.6038 GB, free: 68.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.004878/0.8822, allocations: 3.664 MB / 0.6074 GB, free: 66.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.8822, allocations: 11 kB / 0.6074 GB, free: 66.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.8822, allocations: 15.55 kB / 0.6075 GB, free: 66.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.8838, allocations: 0.7527 MB / 0.6082 GB, free: 66.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/0.8858, allocations: 0.5316 MB / 0.6087 GB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007183/0.893, allocations: 8.332 MB / 0.6168 GB, free: 59.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.8951, allocations: 83.52 kB / 0.6169 GB, free: 59.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.8953, allocations: 94.62 kB / 0.617 GB, free: 58.99 MB / 410.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 () * 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.0004037/0.8957, allocations: 148.7 kB / 0.6172 GB, free: 58.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.8961, allocations: 252.4 kB / 0.6174 GB, free: 58.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/0.9009, allocations: 3.416 MB / 0.6207 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.9009, allocations: 20 kB / 0.6207 GB, free: 55.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.9009, allocations: 11.94 kB / 0.6208 GB, free: 55.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.901, allocations: 11.11 kB / 0.6208 GB, free: 55.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.9115, allocations: 7.283 MB / 0.6279 GB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.9116, allocations: 4 kB / 0.6279 GB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/0.9132, allocations: 396.5 kB / 0.6283 GB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.9151, allocations: 0.8011 MB / 0.629 GB, free: 48.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.9152, allocations: 27.95 kB / 0.6291 GB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007849/0.9231, allocations: 9.809 MB / 0.6387 GB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.9231, allocations: 3.938 kB / 0.6387 GB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006534/0.9297, allocations: 5.398 MB / 0.6439 GB, free: 34.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/0.931, allocations: 0.6015 MB / 0.6445 GB, free: 33.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003798/0.9314, allocations: 14.91 kB / 0.6445 GB, free: 33.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.9327, allocations: 91 kB / 0.6446 GB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003575/0.9331, allocations: 178.8 kB / 0.6448 GB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.9332, allocations: 67.75 kB / 0.6449 GB, free: 33.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00179/0.935, allocations: 1.321 MB / 0.6461 GB, free: 32.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.935, allocations: 0 / 0.6461 GB, free: 32.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002515/0.9375, allocations: 0.7146 MB / 0.6468 GB, free: 31.8 MB / 410.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 () * 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,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005864/0.9381, allocations: 358.7 kB / 0.6472 GB, free: 31.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004423/0.9426, allocations: 3.626 MB / 0.6507 GB, free: 28.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9426, allocations: 2.688 kB / 0.6507 GB, free: 28.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002904/0.9455, allocations: 2.347 MB / 0.653 GB, free: 26.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/0.9487, allocations: 0.5188 MB / 0.6535 GB, free: 25.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.959, allocations: 6.269 MB / 0.6596 GB, free: 19.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/0.9612, allocations: 2.842 MB / 0.6624 GB, free: 17.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002181/0.9634, allocations: 0.6317 MB / 0.663 GB, free: 16.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/0.9639, allocations: 159.4 kB / 0.6632 GB, free: 16.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.001e-06/0.9639, allocations: 0 / 0.6632 GB, free: 16.26 MB / 410.7 MB Notification: Performance of Templates: time 0.2628/1.227, allocations: 35.66 MB / 0.698 GB, free: 93.29 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches