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.002022/0.002022, allocations: 107 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.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.002182/0.002182, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001548/0.001548, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2342, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005004/0.2392, allocations: 3.475 MB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.241, allocations: 0.9931 MB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.2412, allocations: 27.81 kB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.2415, allocations: 150.8 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007321/0.2422, allocations: 290.4 kB / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.2425, allocations: 147.8 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.244, allocations: 1.409 MB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008807/0.2449, allocations: 0.6311 MB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.2456, allocations: 0.6503 MB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009478/0.2466, allocations: 0.7745 MB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.2468, allocations: 156 kB / 441 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.2471, allocations: 156 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004331/0.2476, allocations: 470.7 kB / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007385/0.2483, allocations: 0.599 MB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.2503, allocations: 2.062 MB / 444.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.2503, allocations: 4 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2503, allocations: 0 / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.2503, allocations: 3.984 kB / 444.3 MB, free: 10.68 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.002968/0.2533, allocations: 1.63 MB / 445.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2533, allocations: 12.03 kB / 445.9 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004982/0.2538, allocations: 172 kB / 446.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.2555, allocations: 0.8435 MB / 446.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.2555, allocations: 86.34 kB / 447 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.2557, allocations: 108 kB / 447.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.2584, allocations: 1.695 MB / 448.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.2584, allocations: 0 / 448.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.2586, allocations: 48 kB / 448.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.2586, allocations: 28 kB / 448.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.2608, allocations: 1.312 MB / 450.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006346/0.2672, allocations: 3.634 MB / 453.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.2681, allocations: 0.6046 MB / 454.5 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007158/0.2688, allocations: 438.4 kB / 454.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.2689, allocations: 8.438 kB / 454.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.2689, allocations: 42.98 kB / 454.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 3.978e-06/0.2689, allocations: 3.984 kB / 454.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003339/0.2722, allocations: 1.877 MB / 456.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2723, allocations: 59.84 kB / 456.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.2733, allocations: 0.8046 MB / 457.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.2734, allocations: 37.7 kB / 457.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.2738, allocations: 0.5583 MB / 458.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.274, allocations: 190.4 kB / 458.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.2742, allocations: 102.3 kB / 458.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.2744, allocations: 390.7 kB / 458.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/0.2749, allocations: 301.1 kB / 459.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.2754, allocations: 404.2 kB / 459.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.2765, allocations: 0.7018 MB / 460.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2765, allocations: 0 / 460.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001506/0.278, allocations: 0.9191 MB / 461.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.278, allocations: 8 kB / 461.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.278, allocations: 0 / 461.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/0.2783, allocations: 109.1 kB / 461.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.2789, allocations: 123.8 kB / 461.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.2813, allocations: 2.203 MB / 463.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.2816, allocations: 27.97 kB / 463.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.2816, allocations: 20 kB / 463.7 MB, free: 6.676 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.0006012/0.2822, allocations: 461.4 kB / 464.2 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.2824, allocations: 75.53 kB / 464.3 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.2825, allocations: 91.08 kB / 464.3 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2825, allocations: 4 kB / 464.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2825, allocations: 4.125 kB / 464.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2825, allocations: 3.984 kB / 464.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/0.2856, allocations: 1.755 MB / 466.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.2857, allocations: 8.062 kB / 466.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.286, allocations: 87.88 kB / 466.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.2863, allocations: 104.7 kB / 466.3 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.2863, allocations: 12 kB / 466.3 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.2885, allocations: 2.176 MB / 468.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.2885, allocations: 4.031 kB / 468.5 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.2903, allocations: 1.2 MB / 469.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.2904, allocations: 91.53 kB / 469.8 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.78e-05/0.2905, allocations: 12 kB / 469.8 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.2909, allocations: 43.95 kB / 469.8 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2911, allocations: 44.36 kB / 469.9 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.2911, allocations: 16.06 kB / 469.9 MB, free: 292 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007608/0.2918, allocations: 0.5732 MB / 470.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2918, allocations: 0 / 470.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007183/0.2926, allocations: 208 kB / 470.7 MB, free: 15.51 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.0001415/0.2927, allocations: 119.1 kB / 470.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.2941, allocations: 0.7966 MB / 471.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2941, allocations: 0 / 471.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.2948, allocations: 480.8 kB / 472.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.2957, allocations: 174.3 kB / 472.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.2991, allocations: 2.244 MB / 474.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/0.2999, allocations: 0.7408 MB / 475.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004122/0.3003, allocations: 185.6 kB / 475.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.3005, allocations: 51.44 kB / 475.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3005, allocations: 0 / 475.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Templates: time 0.0208/0.3213, allocations: 11.9 MB / 487.4 MB, free: 14.91 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 -s gbode -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: 4.566799316002289]