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.001529/0.001533, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 86.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.919e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.0962, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3991/0.4953, allocations: 80.39 MB / 449.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4956, allocations: 77.03 kB / 449.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07691/0.5726, allocations: 18.52 MB / 468.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5726, allocations: 0 / 468.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.5727, allocations: 31.94 kB / 468.1 MB, free: 12.09 MB / 346.7 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.004065/0.5768, allocations: 1.326 MB / 469.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5769, allocations: 12.03 kB / 469.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005203/0.5774, allocations: 138.4 kB / 469.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.5799, allocations: 0.8534 MB / 470.4 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.5801, allocations: 86.17 kB / 470.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.5804, allocations: 108 kB / 470.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004212/0.5846, allocations: 1.469 MB / 472.1 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.5847, allocations: 3.938 kB / 472.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.5849, allocations: 44 kB / 472.1 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.5849, allocations: 28 kB / 472.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.5886, allocations: 1.172 MB / 473.3 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.6007, allocations: 4.264 MB / 477.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.6025, allocations: 1.297 MB / 478.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.6037, allocations: 442.6 kB / 479.3 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.6038, allocations: 4.438 kB / 479.3 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.6038, allocations: 39 kB / 479.4 MB, free: 332 kB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.016e-06/0.6039, allocations: 0 / 479.4 MB, free: 332 kB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.005167/0.609, allocations: 1.635 MB / 481 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.6092, allocations: 59.83 kB / 481.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.6116, allocations: 0.7222 MB / 481.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.6118, allocations: 37.7 kB / 481.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007106/0.6125, allocations: 0.5555 MB / 482.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003646/0.6129, allocations: 177.5 kB / 482.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.058e-05/0.613, allocations: 12 kB / 482.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.6133, allocations: 338.8 kB / 482.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.6144, allocations: 285 kB / 483.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.6156, allocations: 379.4 kB / 483.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.6169, allocations: 339.1 kB / 483.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.6169, allocations: 8 kB / 483.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00314/0.6201, allocations: 0.8309 MB / 484.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.6202, allocations: 12.31 kB / 484.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.6202, allocations: 0 / 484.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.6209, allocations: 112.7 kB / 484.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.6223, allocations: 123.9 kB / 485 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00503/0.6274, allocations: 2.182 MB / 487.1 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.6286, allocations: 27.97 kB / 487.2 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.6287, allocations: 20 kB / 487.2 MB, free: 8.219 MB / 362.7 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.0002978/0.629, allocations: 132.9 kB / 487.3 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.6294, allocations: 71.16 kB / 487.4 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.6298, allocations: 90.92 kB / 487.5 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.6298, allocations: 8 kB / 487.5 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.6298, allocations: 3.953 kB / 487.5 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.6299, allocations: 3.984 kB / 487.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007992/0.6379, allocations: 2.013 MB / 489.5 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.6379, allocations: 0 / 489.5 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.639, allocations: 92.05 kB / 489.6 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005934/0.6396, allocations: 100.8 kB / 489.7 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.15e-05/0.6397, allocations: 12 kB / 489.7 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004713/0.6445, allocations: 2.131 MB / 491.8 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6445, allocations: 0 / 491.8 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/0.6485, allocations: 1.216 MB / 493 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.6491, allocations: 164.2 kB / 493.2 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.6494, allocations: 16.28 kB / 493.2 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.6506, allocations: 52.02 kB / 493.3 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.6509, allocations: 44.33 kB / 493.3 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/0.651, allocations: 23.88 kB / 493.3 MB, free: 1.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001966/0.653, allocations: 0.5772 MB / 493.9 MB, free: 1.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.653, allocations: 0 / 493.9 MB, free: 1.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002161/0.6552, allocations: 216 kB / 494.1 MB, free: 0.9648 MB / 362.7 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.0003992/0.6557, allocations: 107.2 kB / 494.2 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002973/0.6586, allocations: 0.7815 MB / 495 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.6587, allocations: 0 / 495 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.6606, allocations: 476.8 kB / 495.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.6629, allocations: 165.6 kB / 495.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007319/0.6702, allocations: 1.749 MB / 497.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.6725, allocations: 1.34 MB / 498.7 MB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005071/0.6731, allocations: 55.44 kB / 498.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.844e-06/0.6731, allocations: 0 / 498.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of Templates: time 0.05704/0.7302, allocations: 18.17 MB / 0.5048 GB, free: 9.988 MB / 394.7 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