Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 206.8 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 51.91 kB / 379 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.233, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005287/0.2383, allocations: 3.471 MB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.2405, allocations: 0.9854 MB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.2408, allocations: 27.81 kB / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.2411, allocations: 162.8 kB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008848/0.242, allocations: 290.4 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.2423, allocations: 139.8 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.2439, allocations: 1.409 MB / 438.8 MB, free: 260 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008775/0.2448, allocations: 0.6313 MB / 439.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009251/0.2457, allocations: 0.6464 MB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.2469, allocations: 0.7822 MB / 440.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.2472, allocations: 156 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.2475, allocations: 156 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004602/0.2479, allocations: 466.7 kB / 441.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008183/0.2487, allocations: 0.6029 MB / 442.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.251, allocations: 2.061 MB / 444.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.251, allocations: 0 / 444.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.251, allocations: 0 / 444.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.88e-05/0.251, allocations: 0 / 444.3 MB, free: 10.72 MB / 350.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.003412/0.2544, allocations: 1.63 MB / 445.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.2545, allocations: 12.03 kB / 445.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000548/0.255, allocations: 176 kB / 446.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.257, allocations: 0.8473 MB / 446.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.2571, allocations: 90.33 kB / 447 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.2573, allocations: 108 kB / 447.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/0.2602, allocations: 1.695 MB / 448.8 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.2602, allocations: 4 kB / 448.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.2604, allocations: 44 kB / 448.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.2604, allocations: 32 kB / 448.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.2627, allocations: 1.312 MB / 450.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007191/0.2698, allocations: 3.638 MB / 453.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009819/0.2708, allocations: 0.5968 MB / 454.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007675/0.2716, allocations: 438.5 kB / 454.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2716, allocations: 4.438 kB / 454.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.2717, allocations: 42.98 kB / 454.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.2717, allocations: 0 / 454.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003716/0.2754, allocations: 1.881 MB / 456.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.2755, allocations: 59.84 kB / 456.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.2765, allocations: 0.7969 MB / 457.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.2766, allocations: 33.7 kB / 457.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.2771, allocations: 0.5623 MB / 458.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.2773, allocations: 194.3 kB / 458.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.2774, allocations: 102.3 kB / 458.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.2777, allocations: 390.7 kB / 458.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.2782, allocations: 305.1 kB / 459.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/0.2788, allocations: 400.3 kB / 459.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2798, allocations: 0.7057 MB / 460.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2798, allocations: 0 / 460.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001611/0.2815, allocations: 0.9155 MB / 461.2 MB, free: 9.297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.2815, allocations: 8 kB / 461.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2815, allocations: 0 / 461.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.2818, allocations: 112.7 kB / 461.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.2823, allocations: 127.9 kB / 461.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.2849, allocations: 2.199 MB / 463.7 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.2853, allocations: 31.97 kB / 463.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.2854, allocations: 20 kB / 463.7 MB, free: 6.703 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.0007296/0.2861, allocations: 465.5 kB / 464.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.2863, allocations: 75.53 kB / 464.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.2864, allocations: 91.08 kB / 464.4 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2864, allocations: 4 kB / 464.4 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2864, allocations: 0 / 464.4 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2864, allocations: 7.984 kB / 464.4 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/0.2898, allocations: 1.743 MB / 466.1 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.2898, allocations: 4 kB / 466.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.2902, allocations: 92.03 kB / 466.2 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.2905, allocations: 104.7 kB / 466.3 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.2905, allocations: 12 kB / 466.3 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.293, allocations: 2.18 MB / 468.5 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.293, allocations: 8.062 kB / 468.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.2949, allocations: 1.193 MB / 469.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.2952, allocations: 95.47 kB / 469.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.2952, allocations: 16.12 kB / 469.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.2957, allocations: 43.95 kB / 469.8 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.2958, allocations: 48.3 kB / 469.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.2958, allocations: 16.06 kB / 469.9 MB, free: 316 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008231/0.2966, allocations: 0.5732 MB / 470.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2966, allocations: 0 / 470.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008322/0.2975, allocations: 212 kB / 470.7 MB, free: 15.53 MB / 382.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.0001846/0.2977, allocations: 115.1 kB / 470.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.2992, allocations: 0.7968 MB / 471.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2992, allocations: 4.188 kB / 471.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008107/0.3, allocations: 476.8 kB / 472.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009423/0.3009, allocations: 165.8 kB / 472.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.3049, allocations: 2.254 MB / 474.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008573/0.3058, allocations: 0.7213 MB / 475.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.306, allocations: 47.44 kB / 475.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.193e-06/0.306, allocations: 0 / 475.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of Templates: time 0.0276/0.3336, allocations: 19.28 MB / 494.5 MB, free: 7.602 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.611176738981158]