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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002491/0.002491, allocations: 179.7 kB / 8.153 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.001242/0.001241, allocations: 84.28 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.373e-06, allocations: 0 / 314.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.227, allocations: 47.55 MB / 361.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3498, allocations: 79.67 MB / 441.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.3501, allocations: 71.95 kB / 441.6 MB, free: 6.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.07718/0.4273, allocations: 18.1 MB / 459.7 MB, free: 4.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001293/0.4275, allocations: 35.94 kB / 459.7 MB, free: 4.148 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.004739/0.4323, allocations: 1.324 MB / 461 MB, free: 2.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.4324, allocations: 8.031 kB / 461 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/0.4331, allocations: 138.4 kB / 461.2 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/0.4359, allocations: 0.8686 MB / 462 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.771e-05/0.436, allocations: 36 kB / 462.1 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/0.4364, allocations: 63.91 kB / 462.1 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004063/0.4405, allocations: 1.148 MB / 463.3 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004521/0.445, allocations: 1.333 MB / 464.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.4451, allocations: 3.938 kB / 464.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.4453, allocations: 4 kB / 464.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.4453, allocations: 32 kB / 464.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.4581, allocations: 4.092 MB / 468.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.4595, allocations: 0.5412 MB / 469.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.4611, allocations: 0.5142 MB / 469.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/0.4612, allocations: 8.438 kB / 469.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.4612, allocations: 42.98 kB / 469.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.257e-06/0.4612, allocations: 3.938 kB / 469.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.004929/0.4662, allocations: 1.637 MB / 471.5 MB, free: 8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.4663, allocations: 55.84 kB / 471.5 MB, free: 7.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.4679, allocations: 0.6946 MB / 472.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.4681, allocations: 25.7 kB / 472.3 MB, free: 7.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.4685, allocations: 480.8 kB / 472.7 MB, free: 6.719 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.4687, allocations: 173.4 kB / 472.9 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.4688, allocations: 0 / 472.9 MB, free: 6.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.469, allocations: 334.8 kB / 473.2 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007894/0.4698, allocations: 297.1 kB / 473.5 MB, free: 5.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009038/0.4707, allocations: 398.9 kB / 473.9 MB, free: 5.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009114/0.4716, allocations: 369.2 kB / 474.3 MB, free: 5.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.4717, allocations: 0 / 474.3 MB, free: 5.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002261/0.4739, allocations: 0.8247 MB / 475.1 MB, free: 4.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.474, allocations: 4 kB / 475.1 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.474, allocations: 4.312 kB / 475.1 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004503/0.4745, allocations: 116.8 kB / 475.2 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4757, allocations: 123.8 kB / 475.3 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.4793, allocations: 2.055 MB / 477.4 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.4799, allocations: 19.98 kB / 477.4 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/0.48, allocations: 20 kB / 477.4 MB, free: 1.84 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 {(3,77.8%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.4802, allocations: 37.58 kB / 477.5 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.4805, allocations: 75.14 kB / 477.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.4809, allocations: 86.61 kB / 477.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4809, allocations: 4 kB / 477.6 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.4809, allocations: 192 / 477.6 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4809, allocations: 0 / 477.6 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/0.4864, allocations: 1.85 MB / 479.5 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.4865, allocations: 4.156 kB / 479.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008572/0.4873, allocations: 99.81 kB / 479.6 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/0.4878, allocations: 100.8 kB / 479.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.4879, allocations: 15.98 kB / 479.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/0.4912, allocations: 2.048 MB / 481.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4912, allocations: 0 / 481.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00287/0.4941, allocations: 1.274 MB / 483 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.4946, allocations: 156.3 kB / 483.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.4948, allocations: 15.97 kB / 483.2 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/0.4956, allocations: 40.03 kB / 483.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.4958, allocations: 32.3 kB / 483.3 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.4959, allocations: 16 kB / 483.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001212/0.4971, allocations: 0.5381 MB / 483.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001216/0.4983, allocations: 192 kB / 484 MB, free: 11 MB / 378.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.0002681/0.4986, allocations: 107.1 kB / 484.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.5008, allocations: 0.7863 MB / 484.9 MB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5009, allocations: 4.188 kB / 484.9 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.5021, allocations: 467.2 kB / 485.3 MB, free: 9.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.5037, allocations: 135.4 kB / 485.5 MB, free: 9.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.5095, allocations: 1.764 MB / 487.2 MB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/0.5114, allocations: 1.4 MB / 488.6 MB, free: 6.238 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5115, allocations: 0 / 488.6 MB, free: 6.238 MB / 378.7 MB Notification: Performance of Templates: time 0.03719/0.5487, allocations: 17.79 MB / 0.4946 GB, free: 4.457 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