Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.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 trunk/package.mo): time 0.001771/0.001771, allocations: 206.7 kB / 8.544 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008852/0.0008853, allocations: 95.59 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.32e-06/5.34e-06, allocations: 0 / 343.1 MB, free: 8.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08242, allocations: 51.48 MB / 394.6 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.3199, allocations: 81.79 MB / 476.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.3202, allocations: 80.03 kB / 476.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04215/0.3623, allocations: 18.61 MB / 495.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.3625, allocations: 32 kB / 495.1 MB, free: 11.93 MB / 362.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.002753/0.3652, allocations: 1.348 MB / 496.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3653, allocations: 8.031 kB / 496.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.3659, allocations: 178.4 kB / 496.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.3674, allocations: 0.8578 MB / 497.5 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.3675, allocations: 36 kB / 497.6 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3676, allocations: 64 kB / 497.6 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001701/0.3693, allocations: 1.144 MB / 498.8 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.3714, allocations: 1.323 MB / 0.4884 GB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.3714, allocations: 3.906 kB / 0.4884 GB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/0.3715, allocations: 0 / 0.4884 GB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.3715, allocations: 28 kB / 0.4884 GB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006238/0.3778, allocations: 4.084 MB / 0.4924 GB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.3785, allocations: 0.538 MB / 0.4929 GB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007741/0.3792, allocations: 0.5136 MB / 0.4934 GB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3793, allocations: 8.422 kB / 0.4934 GB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3793, allocations: 52.69 kB / 0.4935 GB, free: 3.727 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.805e-06/0.3793, allocations: 0 / 0.4935 GB, free: 3.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002653/0.382, allocations: 1.619 MB / 0.495 GB, free: 2.207 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.382, allocations: 55.84 kB / 0.4951 GB, free: 2.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009149/0.383, allocations: 0.6985 MB / 0.4958 GB, free: 1.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.383, allocations: 29.64 kB / 0.4958 GB, free: 1.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.3833, allocations: 458.4 kB / 0.4963 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3834, allocations: 161.6 kB / 0.4964 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.3835, allocations: 0 / 0.4964 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.3837, allocations: 390.7 kB / 0.4968 GB, free: 404 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.3841, allocations: 297.8 kB / 0.4971 GB, free: 108 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.3846, allocations: 395 kB / 0.4974 GB, free: 15.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.385, allocations: 365.2 kB / 0.4978 GB, free: 15.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3851, allocations: 0 / 0.4978 GB, free: 15.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00122/0.3863, allocations: 0.8752 MB / 0.4986 GB, free: 14.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3863, allocations: 4 kB / 0.4986 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3863, allocations: 4 kB / 0.4986 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.3866, allocations: 107.3 kB / 0.4988 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.3871, allocations: 135.9 kB / 0.4989 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.3892, allocations: 2.048 MB / 0.5009 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.3896, allocations: 20.05 kB / 0.5009 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.3896, allocations: 20 kB / 0.5009 GB, free: 11.99 MB / 378.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.0001218/0.3897, allocations: 116.8 kB / 0.501 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.3899, allocations: 75.14 kB / 0.5011 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.39, allocations: 86.61 kB / 0.5012 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.3901, allocations: 4 kB / 0.5012 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3901, allocations: 1.5 kB / 0.5012 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3901, allocations: 0 / 0.5012 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.3928, allocations: 1.837 MB / 0.503 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3928, allocations: 0 / 0.503 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.3932, allocations: 96.05 kB / 0.5031 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/0.3935, allocations: 108.7 kB / 0.5032 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.3935, allocations: 12.05 kB / 0.5032 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.3957, allocations: 2.041 MB / 0.5052 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3957, allocations: 4 kB / 0.5052 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001634/0.3973, allocations: 1.274 MB / 0.5064 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.3976, allocations: 152.2 kB / 0.5066 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3977, allocations: 16.89 kB / 0.5066 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/0.3982, allocations: 39.97 kB / 0.5066 GB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/0.3983, allocations: 36.3 kB / 0.5067 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.3983, allocations: 19.98 kB / 0.5067 GB, free: 5.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0007093/0.3991, allocations: 0.5303 MB / 0.5072 GB, free: 5.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007613/0.3998, allocations: 192 kB / 0.5074 GB, free: 5.105 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.000169/0.4, allocations: 120.6 kB / 0.5075 GB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.4011, allocations: 0.7785 MB / 0.5083 GB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4011, allocations: 4 kB / 0.5083 GB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006772/0.4018, allocations: 459.5 kB / 0.5087 GB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006921/0.4025, allocations: 135.2 kB / 0.5088 GB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.4056, allocations: 1.753 MB / 0.5105 GB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.4068, allocations: 1.41 MB / 0.5119 GB, free: 368 kB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.4068, allocations: 0 / 0.5119 GB, free: 368 kB / 378.7 MB Notification: Performance of Templates: time 0.01541/0.4222, allocations: 8.559 MB / 0.5203 GB, free: 7.973 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches