Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001092, allocations: 95.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.6e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3459, allocations: 47.56 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4742, allocations: 79.75 MB / 442.1 MB, free: 6.566 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.4745, allocations: 71.97 kB / 442.1 MB, free: 6.496 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07846/0.553, allocations: 18.32 MB / 460.5 MB, free: 4.141 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.553, allocations: 0 / 460.5 MB, free: 4.141 MB / 347.1 MB Notification: Performance of Transformations before backend: time 0.0001361/0.5532, allocations: 31.94 kB / 460.5 MB, free: 4.109 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004688/0.5579, allocations: 1.328 MB / 461.8 MB, free: 2.734 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.558, allocations: 16.02 kB / 461.8 MB, free: 2.719 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006824/0.5587, allocations: 138.4 kB / 462 MB, free: 2.582 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/0.5614, allocations: 0.8496 MB / 462.8 MB, free: 1.688 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.5615, allocations: 39.95 kB / 462.9 MB, free: 1.648 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/0.5618, allocations: 60 kB / 462.9 MB, free: 1.59 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003393/0.5652, allocations: 1.117 MB / 464 MB, free: 480 kB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003878/0.5691, allocations: 1.302 MB / 465.3 MB, free: 15.1 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.5692, allocations: 8 kB / 465.3 MB, free: 15.09 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.5694, allocations: 0 / 465.3 MB, free: 15.09 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.5694, allocations: 32 kB / 465.4 MB, free: 15.06 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.5811, allocations: 4.049 MB / 469.4 MB, free: 10.9 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.5829, allocations: 1.266 MB / 470.7 MB, free: 9.461 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.5841, allocations: 424.1 kB / 471.1 MB, free: 9.043 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.5842, allocations: 12.36 kB / 471.1 MB, free: 9.027 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.5842, allocations: 39 kB / 471.2 MB, free: 8.98 MB / 363.1 MB Notification: Performance of pre-optimization done (n=49): time 3.597e-06/0.5842, allocations: 0 / 471.2 MB, free: 8.98 MB / 363.1 MB Notification: Performance of matching and sorting (n=51): time 0.004373/0.5886, allocations: 1.552 MB / 472.7 MB, free: 7.367 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.5887, allocations: 55.84 kB / 472.8 MB, free: 7.301 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.5903, allocations: 0.679 MB / 473.4 MB, free: 6.617 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.5905, allocations: 29.7 kB / 473.5 MB, free: 6.582 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000499/0.591, allocations: 0.5555 MB / 474 MB, free: 6.02 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.5913, allocations: 169.5 kB / 474.2 MB, free: 5.852 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.5913, allocations: 0 / 474.2 MB, free: 5.852 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5915, allocations: 334.8 kB / 474.5 MB, free: 5.516 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.5922, allocations: 269 kB / 474.8 MB, free: 5.254 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/0.5929, allocations: 366.3 kB / 475.1 MB, free: 4.859 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/0.5937, allocations: 341.9 kB / 475.5 MB, free: 4.523 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.5938, allocations: 11.89 kB / 475.5 MB, free: 4.512 MB / 363.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002004/0.5958, allocations: 0.7766 MB / 476.3 MB, free: 3.73 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.5958, allocations: 4 kB / 476.3 MB, free: 3.727 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.5959, allocations: 7.938 kB / 476.3 MB, free: 3.719 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/0.5963, allocations: 100.8 kB / 476.4 MB, free: 3.617 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5974, allocations: 131.9 kB / 476.5 MB, free: 3.488 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.601, allocations: 2.084 MB / 478.6 MB, free: 1.293 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.6019, allocations: 20.09 kB / 478.6 MB, free: 1.273 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.6019, allocations: 27.89 kB / 478.6 MB, free: 1.246 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.6022, allocations: 113 kB / 478.7 MB, free: 1.129 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.6023, allocations: 71.16 kB / 478.8 MB, free: 1.059 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.6026, allocations: 82.61 kB / 478.9 MB, free: 0.9688 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.6026, allocations: 4 kB / 478.9 MB, free: 0.9648 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.6027, allocations: 4 kB / 478.9 MB, free: 0.9609 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.6027, allocations: 3.984 kB / 478.9 MB, free: 0.957 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004916/0.6076, allocations: 1.806 MB / 480.7 MB, free: 15.09 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.6077, allocations: 12.17 kB / 480.7 MB, free: 15.08 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/0.6084, allocations: 95.88 kB / 480.8 MB, free: 14.98 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004148/0.6089, allocations: 96.8 kB / 480.9 MB, free: 14.89 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/0.6089, allocations: 7.984 kB / 480.9 MB, free: 14.88 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003171/0.6121, allocations: 2.044 MB / 483 MB, free: 12.71 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.6122, allocations: 0 / 483 MB, free: 12.71 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.6148, allocations: 1.173 MB / 484.1 MB, free: 11.47 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.6153, allocations: 164.3 kB / 484.3 MB, free: 11.29 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.6155, allocations: 4 kB / 484.3 MB, free: 11.29 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.6163, allocations: 39.95 kB / 484.3 MB, free: 11.25 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.6165, allocations: 44.38 kB / 484.4 MB, free: 11.21 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.6166, allocations: 19.98 kB / 484.4 MB, free: 11.19 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.6178, allocations: 0.5225 MB / 484.9 MB, free: 10.67 MB / 379.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6178, allocations: 0 / 484.9 MB, free: 10.67 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001388/0.6192, allocations: 192 kB / 485.1 MB, free: 10.48 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002974/0.6196, allocations: 103.2 kB / 485.2 MB, free: 10.37 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.6216, allocations: 0.7434 MB / 486 MB, free: 9.617 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.6217, allocations: 0 / 486 MB, free: 9.617 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.6228, allocations: 458.9 kB / 486.4 MB, free: 9.156 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.6244, allocations: 149.1 kB / 486.6 MB, free: 9.012 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005212/0.6296, allocations: 1.715 MB / 488.3 MB, free: 7.246 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.6313, allocations: 1.332 MB / 489.6 MB, free: 5.883 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.6317, allocations: 55.42 kB / 489.7 MB, free: 5.828 MB / 379.1 MB Notification: Performance of SimCode: time 9.61e-07/0.6317, allocations: 0 / 489.7 MB, free: 5.828 MB / 379.1 MB Notification: Performance of Templates: time 0.04039/0.6721, allocations: 17.83 MB / 0.4956 GB, free: 4.012 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches