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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 95.47 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 190.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002127/0.0002128, allocations: 4 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08902/0.08925, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003624/0.09291, allocations: 3.254 MB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.09488, allocations: 0.9702 MB / 362.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004579/0.09537, allocations: 23.88 kB / 362.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.09575, allocations: 107.2 kB / 363 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009173/0.09668, allocations: 254.7 kB / 363.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.097, allocations: 87.91 kB / 363.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002215/0.09923, allocations: 1.486 MB / 364.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.1005, allocations: 0.8098 MB / 365.6 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008173/0.1014, allocations: 482.1 kB / 366.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.1024, allocations: 0.6109 MB / 366.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.1027, allocations: 72 kB / 366.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.103, allocations: 72 kB / 366.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.1033, allocations: 354.9 kB / 367.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.1037, allocations: 269 kB / 367.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.1051, allocations: 1.625 MB / 369.1 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1051, allocations: 0 / 369.1 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1051, allocations: 4 kB / 369.1 MB, free: 2.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5e-05/0.1052, allocations: 0 / 369.1 MB, free: 2.926 MB / 302.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.002621/0.1078, allocations: 1.481 MB / 370.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1079, allocations: 12.03 kB / 370.6 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006521/0.1085, allocations: 178.3 kB / 370.7 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.1098, allocations: 0.8375 MB / 371.6 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/0.1098, allocations: 82.22 kB / 371.6 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.11, allocations: 108 kB / 371.8 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1679/0.2779, allocations: 1.536 MB / 373.3 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.278, allocations: 0 / 373.3 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.2781, allocations: 50.66 kB / 373.3 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.2782, allocations: 26.06 kB / 373.4 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.2806, allocations: 1.322 MB / 374.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006203/0.2869, allocations: 4.249 MB / 378.9 MB, free: 16.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.2882, allocations: 1.316 MB / 380.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.2889, allocations: 476.3 kB / 380.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.289, allocations: 4.875 kB / 380.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.289, allocations: 39.06 kB / 380.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 1.964e-06/0.289, allocations: 0 / 380.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003287/0.2923, allocations: 1.964 MB / 382.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.2924, allocations: 66.61 kB / 382.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.2935, allocations: 0.8151 MB / 383.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.2935, allocations: 36.17 kB / 383.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.2939, allocations: 0.5439 MB / 384.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.2941, allocations: 178.7 kB / 384.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.2941, allocations: 10.03 kB / 384.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2943, allocations: 387.9 kB / 384.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/0.2948, allocations: 310.9 kB / 385 MB, free: 12.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005725/0.2954, allocations: 412.3 kB / 385.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.2959, allocations: 368.6 kB / 385.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2959, allocations: 0 / 385.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001349/0.2973, allocations: 0.927 MB / 386.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.2973, allocations: 6.812 kB / 386.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2973, allocations: 1.531 kB / 386.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.2976, allocations: 117.7 kB / 386.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.2981, allocations: 119.5 kB / 387 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.2999, allocations: 2.183 MB / 389.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.3003, allocations: 27.05 kB / 389.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.3003, allocations: 18.38 kB / 389.2 MB, free: 9.773 MB / 302.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 () * Number of clocked 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.0005786/0.3009, allocations: 467.6 kB / 389.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.301, allocations: 76.53 kB / 389.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.3012, allocations: 90.02 kB / 389.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3012, allocations: 8.328 kB / 389.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.3012, allocations: 4.094 kB / 389.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3012, allocations: 6.828 kB / 389.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.3041, allocations: 2.047 MB / 391.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3041, allocations: 1.375 kB / 391.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.3045, allocations: 89.17 kB / 392 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.3047, allocations: 107.8 kB / 392.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.3047, allocations: 13.89 kB / 392.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.3063, allocations: 2.132 MB / 394.2 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3064, allocations: 2.312 kB / 394.2 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.3079, allocations: 1.216 MB / 395.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.3081, allocations: 160.2 kB / 395.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/0.3082, allocations: 20.59 kB / 395.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.3086, allocations: 55.8 kB / 395.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3087, allocations: 41.91 kB / 395.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.3087, allocations: 19.64 kB / 395.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007338/0.3095, allocations: 0.5829 MB / 396.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3095, allocations: 4 kB / 396.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009226/0.3104, allocations: 209.3 kB / 396.5 MB, free: 4.773 MB / 302.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 () * Number of clocked 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.0001449/0.3106, allocations: 111.7 kB / 396.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.3118, allocations: 0.8257 MB / 397.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3118, allocations: 0 / 397.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.3124, allocations: 0.4901 MB / 398 MB, free: 3.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008422/0.3133, allocations: 173.2 kB / 398.1 MB, free: 3.828 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.3163, allocations: 2.631 MB / 400.8 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.317, allocations: 1.336 MB / 402.1 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004014/0.3174, allocations: 181.8 kB / 402.3 MB, free: 352 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.3175, allocations: 55.42 kB / 402.3 MB, free: 296 kB / 302.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3175, allocations: 7.938 kB / 402.3 MB, free: 288 kB / 302.1 MB Notification: Performance of Templates: time 0.01729/0.3348, allocations: 9.599 MB / 411.9 MB, free: 6.809 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches