Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 185.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 51.92 kB / 371.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.257, allocations: 52.19 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005109/0.2622, allocations: 3.453 MB / 427.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2641, allocations: 0.9153 MB / 428.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.2643, allocations: 27.81 kB / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.2646, allocations: 158.8 kB / 428.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008102/0.2654, allocations: 290.4 kB / 428.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.2657, allocations: 123.8 kB / 428.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.2672, allocations: 1.397 MB / 430.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008299/0.268, allocations: 0.6119 MB / 430.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006999/0.2687, allocations: 0.6464 MB / 431.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.2697, allocations: 0.7901 MB / 432.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.2699, allocations: 156 kB / 432.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.2702, allocations: 156 kB / 432.5 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.2706, allocations: 454.8 kB / 433 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006199/0.2712, allocations: 0.599 MB / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.2731, allocations: 2.053 MB / 435.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2731, allocations: 4 kB / 435.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2731, allocations: 0 / 435.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.2731, allocations: 0 / 435.6 MB, free: 2.594 MB / 334.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.002841/0.276, allocations: 1.626 MB / 437.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.276, allocations: 8.922 kB / 437.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.2762, allocations: 148 kB / 437.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.2778, allocations: 0.8201 MB / 438.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.2778, allocations: 90.33 kB / 438.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.278, allocations: 115.9 kB / 438.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.2805, allocations: 1.695 MB / 440.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.2805, allocations: 4 kB / 440.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.2806, allocations: 44 kB / 440.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.2806, allocations: 32 kB / 440.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.2827, allocations: 1.312 MB / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006127/0.2889, allocations: 3.638 MB / 445.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000924/0.2898, allocations: 0.6051 MB / 445.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/0.2905, allocations: 434.5 kB / 446.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.2905, allocations: 4.438 kB / 446.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2906, allocations: 42.94 kB / 446.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.244e-06/0.2906, allocations: 0 / 446.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00318/0.2937, allocations: 1.885 MB / 448.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.2938, allocations: 55.84 kB / 448.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.2948, allocations: 0.7929 MB / 449 MB, free: 4.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.2948, allocations: 41.64 kB / 449 MB, free: 4.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.2952, allocations: 0.5506 MB / 449.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.2954, allocations: 182.4 kB / 449.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.2956, allocations: 110.3 kB / 449.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.2957, allocations: 382.7 kB / 450.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.2962, allocations: 309.1 kB / 450.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.2968, allocations: 400.2 kB / 450.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.2978, allocations: 0.7018 MB / 451.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2978, allocations: 0 / 451.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001449/0.2992, allocations: 0.9115 MB / 452.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2993, allocations: 4 kB / 452.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2993, allocations: 7.984 kB / 452.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.2995, allocations: 108.7 kB / 452.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.3001, allocations: 124 kB / 452.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.3024, allocations: 2.211 MB / 455 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.3028, allocations: 27.97 kB / 455 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.3028, allocations: 16 kB / 455 MB, free: 14.64 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006361/0.3034, allocations: 469.6 kB / 455.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.3036, allocations: 75.53 kB / 455.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.3037, allocations: 90.77 kB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3037, allocations: 4 kB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3037, allocations: 4 kB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3037, allocations: 3.984 kB / 455.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.3067, allocations: 1.739 MB / 457.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3068, allocations: 4 kB / 457.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.3071, allocations: 92.03 kB / 457.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.3073, allocations: 104.7 kB / 457.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.3074, allocations: 16 kB / 457.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.3096, allocations: 2.176 MB / 459.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3096, allocations: 64 / 459.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.3113, allocations: 1.204 MB / 461 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.3115, allocations: 83.55 kB / 461.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.3116, allocations: 24.11 kB / 461.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.312, allocations: 43.95 kB / 461.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.3121, allocations: 44.3 kB / 461.2 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.3121, allocations: 16 kB / 461.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007272/0.3129, allocations: 0.5654 MB / 461.7 MB, free: 7.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3129, allocations: 0 / 461.7 MB, free: 7.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007593/0.3136, allocations: 208 kB / 461.9 MB, free: 7.488 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.3138, allocations: 131 kB / 462.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.3151, allocations: 0.793 MB / 462.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3151, allocations: 4.312 kB / 462.9 MB, free: 6.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000727/0.3159, allocations: 484.8 kB / 463.3 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/0.3167, allocations: 166.4 kB / 463.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.3201, allocations: 2.246 MB / 465.8 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.3208, allocations: 0.7212 MB / 466.5 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.321, allocations: 47.44 kB / 466.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.321, allocations: 0 / 466.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of Templates: time 0.02435/0.3453, allocations: 19.13 MB / 485.7 MB, free: 15.69 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.623190768994391]